DescriptionSupport invalidation sets for simple class selectors.
Invalidation sets were supported for selectors like '.a .b' with an empty
invalidation set for 'b' and a LocalStyleChange for elements for which 'b'
was added or removed. However, not for simple class selectors like '.b' for
which an empty invalidation set would be added, but also marked with
wholeSubtreeInvalid yielding a SubtreeStyleChange instead.
Now, start using invalidation sets for class selectors in the rightmost
compound selector even when there are no other class selectors present.
R=chrishtr@chromium.org,ojan@chromium.org
BUG=335247
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167470
Patch Set 1 #
Total comments: 8
Messages
Total messages: 14 (0 generated)
|