DescriptionDon't clear StyleAffectedByEmpty before recalc.
ElementRareData::resetStyleState() cleared the StyleAffectedByEmpty flag
before recalculating style for an Element. However, this flag can be set by
style recalc for any of the sibling subtree elements in the presence of
adjacent combinators. If you have a LocalStyleChange for the element that
may become empty/non-empty, the flag can not be cleared since it may never
be set again unless the siblings affected by the :empty state are
recalculated.
R=esprehn@chromium.org
BUG=412950
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181799
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|