DescriptionReschedule sibling invalidations as descendant on removal.
When removing elements we schedule sibling invalidations based on
element attributes and state as descendant invalidations when
necessary. However, that didn't work correctly if we removed an
attribute and then removed the element before the sibling invalidation
for the attribute was effectuated.
For instance, if you remove a class affecting succeeding siblings
through selectors, we schedule an invalidation set for that change, but
it will be cleared right after if we remove the element (see the added
test).
Instead we reschedule sibling invalidations on the parent node before
the invalidations for the removed element are cleared.
R=esprehn@chromium.org
BUG=674326
Committed: https://crrev.com/aa0b505f520f9d14f7f90048e4a256dd408da849
Cr-Commit-Position: refs/heads/master@{#440598}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Moved DCHECK. #
Messages
Total messages: 20 (11 generated)
|