DescriptionIgnore declarations with out of range numeric values
The spec[1] says:
Properties may restrict numeric values to some range. If the value is
outside the allowed range, the declaration is invalid and must be ignored.
Before this patch numeric values we detect as infinite were converted to 0.
With this patch an infinite value causes the declaration to be ignored.
This behavior change means the hashless hex color quirk does no longer
work with large values. Therefore the two remaining test for this
in the quirks spec[2] are fixed.
[1] http://dev.w3.org/csswg/css-values-3/#numeric-types
[2] https://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk
BUG=439050
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195026
Patch Set 1 #Patch Set 2 : V2 #Patch Set 3 : Fix test #
Messages
Total messages: 6 (2 generated)
|