DescriptionDon't resolve extended color keywords during parsing
Previously we were keeping the "basic" named colors (color keywords)
unresolved (as identifiers), while resolving the "extended" named
colors.
This CL makes us keep the "extended" colors as well, and resolve them
during style resolving instead (of during parsing.)
Because we now no longer expect to resolve named colors in the
fast-path, we can drop that part of CSSParserFastPaths::parseColor.
The new behavior matches Gecko and IE.
BUG=505410
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199209
Patch Set 1 #Patch Set 2 : Export findColor. #Patch Set 3 : Fix unittests. #Patch Set 4 : Test expectations fixups. #
Total comments: 1
Messages
Total messages: 7 (2 generated)
|