DescriptionCousins may not share style when ascendant affected bits set.
childrenOrSiblingsAffectedBy* are set during style matching. Cousins may
not share style in such cases since those affected bits may be set on
uncommon ancestors. Calling setUnique on ComputedStyle in such cases to
avoid style sharing.
This is also true for siblings in which case preceding siblings need to
get the affected bits set when we have adjacent selectors.
BUG=424104
Committed: https://crrev.com/1aa1bb688e772e6ab21b70c507cc51f76a5bdf1c
Cr-Commit-Position: refs/heads/master@{#369029}
Patch Set 1 #
Messages
Total messages: 19 (9 generated)
|