This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://dev.w3.org/csswg/cssom/#common-serializing-idioms [[ If the character is the second character and is "-" (U+002D) and the first character is "-" as well, then the escaped character. ]] css-syntax changed to allow --foo so maybe CSS.escape() shouldn't escape it?
https://dvcs.w3.org/hg/csswg/rev/98c61628c0e9
Polyfill + tests updated: https://github.com/mathiasbynens/CSS.escape/commit/3ff1913c7ac411a9108ef528aceb3cb6c1e0918d
This is problematic in browsers that ship `CSS.escape` before shipping an updated CSS parser (as per the latest css-syntax): https://code.google.com/p/chromium/issues/detail?id=528972#c3
- and -- are not identifiers. Blink implements css-syntax. This is a bug in CSSOM. https://drafts.csswg.org/css-syntax/#ident-token-diagram
https://github.com/w3c/csswg-drafts/commit/196e80a5013df9f185547df3fdeccc72f9aae597
Oops, misread css-syntax. '--' was OK. https://github.com/w3c/csswg-drafts/commit/7707b15e6d42a6cb4b04da6b6ecb680c0e9365da