DescriptionHashless hex color quirk for color/background/border only.
According to the quirks mode spec[1], the hashless hex color quirk only
applies to a few properties including color, background-color (not from
short-hand), and various border-color properties.
This aligns the Blink implementation with Gecko and the spec.
The duplicated code and early break is there to avoid regressions in blink
performance tests (there were cases in the CSS and SVG directories that
detected regressions locally).
[1] http://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk
BUG=391343
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179524
Patch Set 1 #Patch Set 2 : Use param instead of parser state #Patch Set 3 : Rebased #
Messages
Total messages: 10 (0 generated)
|