Make <custom-ident> not insert quotes
Before this patch, <custom-ident> serializing used
quoteCSSStringIfNeeded to serialize, which can end up
inserting quotes.
However <custom-ident> are identifiers [1] and should
serialize as such, meaning no quotes [2].
This patches fixes that by calling serializeIdentifier.
Since the font family property relied on old CSSCustomIdentValue
behavior, this patch adds a CSSFontFamilyValue class to
keep said behavior, but with the change that previously we used
single quotes, now double quotes [3]. Most of the expected test
changes are because of this.
In order to fix parsing-css-string-characters.html and
string-quote-binary.html completely, the U+007F handling
mentioned in [3] is implemented.
Behavior matches Firefox.
BUG=584999
[1] https://drafts.csswg.org/css-values-3/#custom-idents
[2] https://drafts.csswg.org/cssom/#serialize-an-identifier
[3] https://drafts.csswg.org/cssom/#serialize-a-string
Review URL: https://codereview.chromium.org/1778743003
Cr-Commit-Position: refs/heads/master@{#381619}
31 files changed