Align fast-path <quirky-color> behavior with non-fast-path parsing
Regular/non-fast-path parsing limits <quirky-color> to a limited number of properties (based on the list in the quirks spec [1]). The fast-path however did not limit based on property but only considered the parser mode. This meant that some parsing code-paths would allow <quirky-color> even when they shouldn't have. [1] https://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk Bug: 1024491, 998400 Change-Id: I88acb102c434c1a73c79eeb1eb94ad06c0677b7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2385357Reviewed-by:Rune Lillesveen <futhark@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#803475}
Showing
Please register or sign in to comment