DescriptionCSS escape doesn't escape leading hyphen.
As per the spec
https://drafts.csswg.org/cssom/#serialize-an-identifier
If the character is the first character and is a '-' (U+002D), and
there is no second character, then it should be escaped.
BUG=528972
Committed: https://crrev.com/b000368e89cd7e755f91623ad6f6460883d056eb
git-svn-id: svn://svn.chromium.org/blink/trunk@202039 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Patch Set 1 #Patch Set 2 : Updated patch to handle '--' #
Total comments: 2
Messages
Total messages: 16 (3 generated)
|