DescriptionRemove hexDigit check in CSSParserValueList
There is no need to check the value in the HashToken if we use
Color::parseHexColor directly, so remove the check and make
sure we call Color::parseHexColor directly when dealing
with a CSSParserValue of type HexColor. This should
be more efficient too since we skip the check and
unneeded checks for different color values (rgb/rgba/named color).
Functionality covered by fast/css/invalid-predefined-color.html.
BUG=489144
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195840
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove ASSERT and add subtest #
Messages
Total messages: 9 (2 generated)
|