]> source.dussan.org Git - jquery.git/commit
CSS: Trim whitespace surrounding CSS Custom Properties values
authorfecore1 <89127124+fecore1@users.noreply.github.com>
Thu, 23 Sep 2021 11:35:18 +0000 (19:35 +0800)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 18 Oct 2021 20:43:59 +0000 (22:43 +0200)
commit219ccf5c5ffd751adb782335f0a36da79070f102
tree9f51f2e01b11681718617af922b152afa5c3225e
parent934064905cfb021246f1107af0858306aa906cf7
CSS: Trim whitespace surrounding CSS Custom Properties values

The spec has recently changed and CSS Custom Properties values are trimmed now.
This change makes jQuery polyfill that new behavior for all browsers.

Ref w3c/csswg-drafts#774
Fixes gh-4926
Closes gh-4930

(partially cherry picked from commit efadfe991a5c287af561a9326bf1427d726c91c1)
src/css.js
src/css/curCSS.js
src/css/var/rcustomProp.js [new file with mode: 0644]
src/var/rtrimCSS.js [new file with mode: 0644]
src/var/whitespace.js [new file with mode: 0644]
test/unit/css.js