DescriptionUse ScopeIsShadowHost when element is in descentant tree of shadow host of scoping node.
If a given element is a descendant node of scoping node, we should not treat the scoping node as shadow host.
However, when the element is distributed and selector has ::content, we need to check the scoping node again,
because the element is moved into a descendant tree hosted by the scoping node(=shadow host).
BUG=313941
TEST=fast/dom/shadow/style-with-cat.html,fast/dom/shadow/content-pseudo-element-with-hat.html,fast/dom/shadow/content-pseudo-element-with-cat.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161759
Patch Set 1 #Messages
Total messages: 4 (0 generated)
|