DescriptionFix assert when interpolating using unset
In Debug mode interpolating using unset hit an ASSERT because
StyleBuilder::applyProperty did not take it into account and assumed the
CSSValue was a primitive value if not initial or inherit. So add the code
to handle unset and determine if we should fallback to inherit or initial
for the given property.
Add a test for interpolating unset with an inherited property (font-size)
and one which falls back to initial (background-color).
BUG=445332
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188009
Patch Set 1 #Patch Set 2 : Add tests #Patch Set 3 : Remove unset handling code in StyleResolver::applyProperties #
Messages
Total messages: 11 (3 generated)
|