scopingNode       119 Source/core/css/ElementRuleCollector.cpp static bool rulesApplicableInCurrentTreeScope(const Element* element, const ContainerNode* scopingNode, SelectorChecker::BehaviorAtBoundary behaviorAtBoundary, bool elementApplyAuthorStyles)
scopingNode       128 Source/core/css/ElementRuleCollector.cpp     if (!scopingNode || treeScope == scopingNode->treeScope())
scopingNode       131 Source/core/css/ElementRuleCollector.cpp     if (element->isInShadowTree() && (behaviorAtBoundary & SelectorChecker::ScopeIsShadowHost) && scopingNode == element->containingShadowRoot()->host())
scopingNode        37 Source/core/css/TreeBoundaryCrossingRules.cpp void TreeBoundaryCrossingRules::addRule(StyleRule* rule, size_t selectorIndex, ContainerNode* scopingNode, AddRuleFlags addRuleFlags)
scopingNode        39 Source/core/css/TreeBoundaryCrossingRules.cpp     if (m_treeBoundaryCrossingRuleSetMap.contains(scopingNode)) {
scopingNode        40 Source/core/css/TreeBoundaryCrossingRules.cpp         m_treeBoundaryCrossingRuleSetMap.get(scopingNode)->addRule(rule, selectorIndex, addRuleFlags);
scopingNode        44 Source/core/css/TreeBoundaryCrossingRules.cpp         m_treeBoundaryCrossingRuleSetMap.add(scopingNode, ruleSetForScope.release());
scopingNode        45 Source/core/css/TreeBoundaryCrossingRules.cpp         m_scopingNodes.add(scopingNode);
scopingNode        49 Source/core/css/TreeBoundaryCrossingRules.cpp void TreeBoundaryCrossingRules::reset(const ContainerNode* scopingNode)
scopingNode        51 Source/core/css/TreeBoundaryCrossingRules.cpp     m_treeBoundaryCrossingRuleSetMap.remove(scopingNode);
scopingNode        52 Source/core/css/TreeBoundaryCrossingRules.cpp     m_scopingNodes.remove(scopingNode);
scopingNode        41 Source/core/css/TreeBoundaryCrossingRules.h     void addRule(StyleRule*, size_t selectorIndex, ContainerNode* scopingNode, AddRuleFlags);
scopingNode        43 Source/core/css/TreeBoundaryCrossingRules.h     void reset(const ContainerNode* scopingNode);
scopingNode        50 Source/core/css/TreeBoundaryCrossingRules.h     RuleSet* ruleSetScopedBy(const ContainerNode* scopingNode) { return m_treeBoundaryCrossingRuleSetMap.get(scopingNode); }
scopingNode       124 Source/core/css/resolver/ScopedStyleResolver.cpp     const ContainerNode* scopingNode = &m_scopingNode;
scopingNode       131 Source/core/css/resolver/ScopedStyleResolver.cpp         scopingNode = toShadowRoot(m_scopingNode).host();
scopingNode       136 Source/core/css/resolver/ScopedStyleResolver.cpp         MatchRequest matchRequest(&m_authorStyleSheets[i]->contents()->ruleSet(), includeEmptyRules, scopingNode, applyAuthorStyles, i, m_authorStyleSheets[i]);
scopingNode        49 Source/core/css/resolver/ScopedStyleResolver.h     static PassOwnPtr<ScopedStyleResolver> create(ContainerNode& scopingNode) { return adoptPtr(new ScopedStyleResolver(scopingNode)); }
scopingNode        53 Source/core/css/resolver/ScopedStyleResolver.h     const ContainerNode& scopingNode() const { return m_scopingNode; }
scopingNode        70 Source/core/css/resolver/ScopedStyleResolver.h     explicit ScopedStyleResolver(ContainerNode& scopingNode) : m_scopingNode(scopingNode), m_parent(0) { }
scopingNode        39 Source/core/css/resolver/ScopedStyleTree.cpp ScopedStyleResolver* ScopedStyleTree::ensureScopedStyleResolver(ContainerNode& scopingNode)
scopingNode        42 Source/core/css/resolver/ScopedStyleTree.cpp     ScopedStyleResolver* scopedStyleResolver = addScopedStyleResolver(scopingNode, isNewEntry);
scopingNode        48 Source/core/css/resolver/ScopedStyleTree.cpp ScopedStyleResolver* ScopedStyleTree::scopedStyleResolverFor(const ContainerNode& scopingNode)
scopingNode        50 Source/core/css/resolver/ScopedStyleTree.cpp     if (!scopingNode.hasScopedHTMLStyleChild()
scopingNode        51 Source/core/css/resolver/ScopedStyleTree.cpp         && !isShadowHost(&scopingNode)
scopingNode        52 Source/core/css/resolver/ScopedStyleTree.cpp         && !scopingNode.isDocumentNode()
scopingNode        53 Source/core/css/resolver/ScopedStyleTree.cpp         && !scopingNode.isShadowRoot())
scopingNode        55 Source/core/css/resolver/ScopedStyleTree.cpp     return lookupScopedStyleResolverFor(&scopingNode);
scopingNode        58 Source/core/css/resolver/ScopedStyleTree.cpp ScopedStyleResolver* ScopedStyleTree::addScopedStyleResolver(ContainerNode& scopingNode, bool& isNewEntry)
scopingNode        60 Source/core/css/resolver/ScopedStyleTree.cpp     HashMap<const ContainerNode*, OwnPtr<ScopedStyleResolver> >::AddResult addResult = m_authorStyles.add(&scopingNode, nullptr);
scopingNode        63 Source/core/css/resolver/ScopedStyleTree.cpp         addResult.storedValue->value = ScopedStyleResolver::create(scopingNode);
scopingNode        64 Source/core/css/resolver/ScopedStyleTree.cpp         if (scopingNode.isDocumentNode())
scopingNode        75 Source/core/css/resolver/ScopedStyleTree.cpp     const ContainerNode& scopingNode = target->scopingNode();
scopingNode        80 Source/core/css/resolver/ScopedStyleTree.cpp     for (ContainerNode* node = scopingNode.parentOrShadowHostNode(); node; node = node->parentOrShadowHostNode()) {
scopingNode       102 Source/core/css/resolver/ScopedStyleTree.cpp         if (it->value->parent() == target->parent() && scopingNode.containsIncludingShadowDOM(it->key))
scopingNode       151 Source/core/css/resolver/ScopedStyleTree.cpp inline ScopedStyleResolver* ScopedStyleTree::enclosingScopedStyleResolverFor(const ContainerNode* scopingNode)
scopingNode       153 Source/core/css/resolver/ScopedStyleTree.cpp     for (; scopingNode; scopingNode = scopingNode->parentOrShadowHostNode()) {
scopingNode       154 Source/core/css/resolver/ScopedStyleTree.cpp         if (ScopedStyleResolver* scopedStyleResolver = scopedStyleResolverFor(*scopingNode))
scopingNode       160 Source/core/css/resolver/ScopedStyleTree.cpp void ScopedStyleTree::resolveStyleCache(const ContainerNode* scopingNode)
scopingNode       162 Source/core/css/resolver/ScopedStyleTree.cpp     m_cache.scopedResolver = enclosingScopedStyleResolverFor(scopingNode);
scopingNode       163 Source/core/css/resolver/ScopedStyleTree.cpp     m_cache.nodeForScopedStyles = scopingNode;
scopingNode       166 Source/core/css/resolver/ScopedStyleTree.cpp void ScopedStyleTree::pushStyleCache(const ContainerNode& scopingNode, const ContainerNode* parent)
scopingNode       172 Source/core/css/resolver/ScopedStyleTree.cpp         resolveStyleCache(&scopingNode);
scopingNode       176 Source/core/css/resolver/ScopedStyleTree.cpp     ScopedStyleResolver* scopedResolver = scopedStyleResolverFor(scopingNode);
scopingNode       179 Source/core/css/resolver/ScopedStyleTree.cpp     m_cache.nodeForScopedStyles = &scopingNode;
scopingNode       182 Source/core/css/resolver/ScopedStyleTree.cpp void ScopedStyleTree::popStyleCache(const ContainerNode& scopingNode)
scopingNode       184 Source/core/css/resolver/ScopedStyleTree.cpp     if (!cacheIsValid(&scopingNode))
scopingNode       187 Source/core/css/resolver/ScopedStyleTree.cpp     if (m_cache.scopedResolver && m_cache.scopedResolver->scopingNode() == scopingNode)
scopingNode       189 Source/core/css/resolver/ScopedStyleTree.cpp     m_cache.nodeForScopedStyles = scopingNode.parentOrShadowHostNode();
scopingNode       208 Source/core/css/resolver/ScopedStyleTree.cpp void ScopedStyleTree::remove(const ContainerNode* scopingNode)
scopingNode       210 Source/core/css/resolver/ScopedStyleTree.cpp     if (!scopingNode || scopingNode->isDocumentNode())
scopingNode       213 Source/core/css/resolver/ScopedStyleTree.cpp     ScopedStyleResolver* resolverRemoved = lookupScopedStyleResolverFor(scopingNode);
scopingNode       221 Source/core/css/resolver/ScopedStyleTree.cpp     m_authorStyles.remove(scopingNode);
scopingNode        42 Source/core/css/resolver/ScopedStyleTree.h     ScopedStyleResolver* ensureScopedStyleResolver(ContainerNode& scopingNode);
scopingNode        43 Source/core/css/resolver/ScopedStyleTree.h     ScopedStyleResolver* lookupScopedStyleResolverFor(const ContainerNode* scopingNode)
scopingNode        45 Source/core/css/resolver/ScopedStyleTree.h         HashMap<const ContainerNode*, OwnPtr<ScopedStyleResolver> >::iterator it = m_authorStyles.find(scopingNode);
scopingNode        49 Source/core/css/resolver/ScopedStyleTree.h     ScopedStyleResolver* scopedStyleResolverFor(const ContainerNode& scopingNode);
scopingNode        50 Source/core/css/resolver/ScopedStyleTree.h     ScopedStyleResolver* addScopedStyleResolver(ContainerNode& scopingNode, bool& isNewEntry);
scopingNode        62 Source/core/css/resolver/ScopedStyleTree.h     void remove(const ContainerNode* scopingNode);
scopingNode        64 Source/core/css/resolver/ScopedStyleTree.h     void pushStyleCache(const ContainerNode& scopingNode, const ContainerNode* parent);
scopingNode        65 Source/core/css/resolver/ScopedStyleTree.h     void popStyleCache(const ContainerNode& scopingNode);
scopingNode        75 Source/core/css/resolver/ScopedStyleTree.h     void resolveStyleCache(const ContainerNode* scopingNode);
scopingNode        76 Source/core/css/resolver/ScopedStyleTree.h     ScopedStyleResolver* enclosingScopedStyleResolverFor(const ContainerNode* scopingNode);
scopingNode       201 Source/core/css/resolver/StyleResolver.cpp     ContainerNode* scopingNode = ScopedStyleResolver::scopingNodeFor(document(), cssSheet);
scopingNode       202 Source/core/css/resolver/StyleResolver.cpp     if (!scopingNode)
scopingNode       205 Source/core/css/resolver/StyleResolver.cpp     ScopedStyleResolver* resolver = ensureScopedStyleResolver(scopingNode);
scopingNode       278 Source/core/css/resolver/StyleResolver.cpp void StyleResolver::resetAuthorStyle(const ContainerNode* scopingNode)
scopingNode       282 Source/core/css/resolver/StyleResolver.cpp     ScopedStyleResolver* resolver = scopingNode ? m_styleTree.lookupScopedStyleResolverFor(scopingNode) : m_styleTree.scopedStyleResolverForDocument();
scopingNode       286 Source/core/css/resolver/StyleResolver.cpp     treeBoundaryCrossingRules().reset(scopingNode);
scopingNode       290 Source/core/css/resolver/StyleResolver.cpp     if (!scopingNode)
scopingNode       293 Source/core/css/resolver/StyleResolver.cpp     m_styleTree.remove(scopingNode);
scopingNode       414 Source/core/css/resolver/StyleResolver.cpp         const ContainerNode* scopingNode = toContainerNode(*it);
scopingNode       415 Source/core/css/resolver/StyleResolver.cpp         RuleSet* ruleSet = m_treeBoundaryCrossingRules.ruleSetScopedBy(scopingNode);
scopingNode       417 Source/core/css/resolver/StyleResolver.cpp         bool isInnerTreeScope = element->treeScope().isInclusiveAncestorOf(scopingNode->treeScope());
scopingNode       421 Source/core/css/resolver/StyleResolver.cpp         if (scopingNode && scopingNode->isShadowRoot()) {
scopingNode       422 Source/core/css/resolver/StyleResolver.cpp             if (element->isInDescendantTreeOf(toShadowRoot(scopingNode)->host()))
scopingNode       424 Source/core/css/resolver/StyleResolver.cpp             scopingNode = toShadowRoot(scopingNode)->host();
scopingNode       428 Source/core/css/resolver/StyleResolver.cpp         collector.collectMatchingRules(MatchRequest(ruleSet, includeEmptyRules, scopingNode), collector.matchedResult().ranges.authorRuleRange(), static_cast<SelectorChecker::BehaviorAtBoundary>(boundaryBehavior), ignoreCascadeScope, cascadeOrder);
scopingNode       492 Source/core/css/resolver/StyleResolver.cpp         resolver->collectMatchingAuthorRules(collector, includeEmptyRules, applyAuthorStyles, cascadeScope++, resolver->treeScope() == element->treeScope() && resolver->scopingNode().isShadowRoot() ? 0 : cascadeOrder);
scopingNode        78 Source/core/dom/StyleElement.cpp void StyleElement::removedFromDocument(Document& document, Element* element, ContainerNode* scopingNode, TreeScope& treeScope)
scopingNode        83 Source/core/dom/StyleElement.cpp         document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope);
scopingNode       101 Source/core/dom/StyleElement.cpp         ContainerNode* scopingNode = isHTMLStyleElement(element) ? toHTMLStyleElement(element)->scopingNode() :  0;
scopingNode       102 Source/core/dom/StyleElement.cpp         TreeScope& treeScope = scopingNode ? scopingNode->treeScope() : element->treeScope();
scopingNode       103 Source/core/dom/StyleElement.cpp         document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope);
scopingNode        51 Source/core/dom/StyleElement.h     void removedFromDocument(Document&, Element*, ContainerNode* scopingNode, TreeScope&);
scopingNode       304 Source/core/dom/StyleEngine.cpp void StyleEngine::removeStyleSheetCandidateNode(Node* node, ContainerNode* scopingNode, TreeScope& treeScope)
scopingNode       310 Source/core/dom/StyleEngine.cpp     collection->removeStyleSheetCandidateNode(node, scopingNode);
scopingNode       106 Source/core/dom/StyleEngine.h     void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeScope&);
scopingNode        65 Source/core/dom/TreeScopeStyleSheetCollection.cpp     ContainerNode* scopingNode = toHTMLStyleElement(*node).scopingNode();
scopingNode        66 Source/core/dom/TreeScopeStyleSheetCollection.cpp     if (!isTreeScopeRoot(scopingNode))
scopingNode        67 Source/core/dom/TreeScopeStyleSheetCollection.cpp         m_scopingNodesForStyleScoped.add(scopingNode);
scopingNode        70 Source/core/dom/TreeScopeStyleSheetCollection.cpp void TreeScopeStyleSheetCollection::removeStyleSheetCandidateNode(Node* node, ContainerNode* scopingNode)
scopingNode        74 Source/core/dom/TreeScopeStyleSheetCollection.cpp     if (!isTreeScopeRoot(scopingNode))
scopingNode        75 Source/core/dom/TreeScopeStyleSheetCollection.cpp         m_scopingNodesForStyleScoped.remove(scopingNode);
scopingNode        56 Source/core/dom/TreeScopeStyleSheetCollection.h     void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode);
scopingNode        98 Source/core/html/HTMLStyleElement.cpp         ContainerNode* scopingNode = 0;
scopingNode       100 Source/core/html/HTMLStyleElement.cpp             scopingNode = containingShadowRoot();
scopingNode       101 Source/core/html/HTMLStyleElement.cpp             unregisterWithScopingNode(scopingNode);
scopingNode       103 Source/core/html/HTMLStyleElement.cpp         document().styleEngine()->removeStyleSheetCandidateNode(this, scopingNode, treeScope());
scopingNode       192 Source/core/html/HTMLStyleElement.cpp     ContainerNode* scopingNode = 0;
scopingNode       195 Source/core/html/HTMLStyleElement.cpp             scopingNode = containingShadowRoot();
scopingNode       196 Source/core/html/HTMLStyleElement.cpp             if (!scopingNode)
scopingNode       197 Source/core/html/HTMLStyleElement.cpp                 scopingNode = insertionPoint->containingShadowRoot();
scopingNode       199 Source/core/html/HTMLStyleElement.cpp             scopingNode = parentNode() ? parentNode() : insertionPoint;
scopingNode       202 Source/core/html/HTMLStyleElement.cpp         unregisterWithScopingNode(scopingNode);
scopingNode       207 Source/core/html/HTMLStyleElement.cpp         StyleElement::removedFromDocument(document(), this, scopingNode, containingScope ? *containingScope : insertionPoint->treeScope());
scopingNode        46 Source/core/html/HTMLStyleElement.h     ContainerNode* scopingNode();