]> 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)
committerGitHub <noreply@github.com>
Thu, 23 Sep 2021 11:35:18 +0000 (13:35 +0200)
commitefadfe991a5c287af561a9326bf1427d726c91c1
treea8d28d325f3b40a6bac0637ccfa10ac5974dbdf7
parent175db73ec7938e774d9e93d3afdfb35a24466b47
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
src/css.js
src/css/curCSS.js
src/css/var/rcustomProp.js [new file with mode: 0644]
src/selector.js
src/selector/rbuggyQSA.js
src/selector/var/whitespace.js [deleted file]
src/var/rtrim.js [new file with mode: 0644]
src/var/whitespace.js [new file with mode: 0644]
test/unit/css.js