Lines Matching refs:root
22 checkConnectedSubframeCountIsConsistent(root());
25 if (!root().connectedSubframeCount())
29 collectFrameOwners(root());
31 for (Node* child = root().firstChild(); child; child = child->nextSibling())
38 void ChildFrameDisconnector::collectFrameOwners(Node& root)
40 if (!root.connectedSubframeCount())
43 if (root.isHTMLElement() && root.isFrameOwnerElement())
44 m_frameOwners.append(&toHTMLFrameOwnerElement(root));
46 for (Node* child = root.firstChild(); child; child = child->nextSibling())
49 ElementShadow* shadow = root.isElementNode() ? toElement(root).shadow() : 0;
58 SubframeLoadingDisabler disabler(root());
64 if (!i || root().containsIncludingShadowDOM(owner))
71 for (ShadowRoot* root = shadow.youngestShadowRoot(); root; root = root->olderShadowRoot())
72 collectFrameOwners(*root);
85 for (ShadowRoot* root = shadow->youngestShadowRoot(); root; root = root->olderShadowRoot())
86 count += checkConnectedSubframeCountIsConsistent(*root);