Description:host-context selectors may affect insertion point descendants.
At insertion points, we schedule style recalcs for inserted nodes when we
have a StyleRecalcChange at the insertion point's parent. One of the reasons
is that :host-context selectors which affect inserted nodes may rely on
matching nodes which are not ascendants of the inserted nodes in the dom
used for selector matching.
We did use a LocalStyleChange for the inserted nodes, but these selectors
may affect any node in the inserted node's subtree. Hence, we start using
SubtreeStyleChange instead.
R=esprehn@chromium.org,dglazkov@chromium.org
BUG=381020
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175636
Patch Set 1 #
Messages
Total messages: 14 (0 generated)
|