HomeSort by relevance Sort by last modified time
    Searched refs:scopingNode (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/css/
TreeBoundaryCrossingRules.cpp 37 void TreeBoundaryCrossingRules::addRule(StyleRule* rule, size_t selectorIndex, ContainerNode* scopingNode, AddRuleFlags addRuleFlags)
39 if (m_treeBoundaryCrossingRuleSetMap.contains(scopingNode)) {
40 m_treeBoundaryCrossingRuleSetMap.get(scopingNode)->addRule(rule, selectorIndex, addRuleFlags);
44 m_treeBoundaryCrossingRuleSetMap.add(scopingNode, ruleSetForScope.release());
45 m_scopingNodes.add(scopingNode);
49 void TreeBoundaryCrossingRules::reset(const ContainerNode* scopingNode)
51 m_treeBoundaryCrossingRuleSetMap.remove(scopingNode);
52 m_scopingNodes.remove(scopingNode);
TreeBoundaryCrossingRules.h 40 void addRule(StyleRule*, size_t selectorIndex, ContainerNode* scopingNode, AddRuleFlags);
42 void reset(const ContainerNode* scopingNode);
48 RuleSet* ruleSetScopedBy(const ContainerNode* scopingNode) { return m_treeBoundaryCrossingRuleSetMap.get(scopingNode); }
ElementRuleCollector.cpp 120 static bool rulesApplicableInCurrentTreeScope(const Element* element, const ContainerNode* scopingNode, SelectorChecker::BehaviorAtBoundary behaviorAtBoundary, bool elementApplyAuthorStyles)
129 if (!scopingNode || treeScope == scopingNode->treeScope())
132 if (element->isInShadowTree() && (behaviorAtBoundary & SelectorChecker::ScopeIsShadowHost) && scopingNode == element->containingShadowRoot()->host())
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
ScopedStyleTree.cpp 37 ScopedStyleResolver* ScopedStyleTree::ensureScopedStyleResolver(ContainerNode& scopingNode)
40 ScopedStyleResolver* scopedStyleResolver = addScopedStyleResolver(scopingNode, isNewEntry);
46 ScopedStyleResolver* ScopedStyleTree::scopedStyleResolverFor(const ContainerNode& scopingNode)
48 if (!scopingNode.hasScopedHTMLStyleChild()
49 && !isShadowHost(&scopingNode)
50 && !scopingNode.isDocumentNode()
51 && !scopingNode.isShadowRoot())
53 return lookupScopedStyleResolverFor(&scopingNode);
56 ScopedStyleResolver* ScopedStyleTree::addScopedStyleResolver(ContainerNode& scopingNode, bool& isNewEntry)
58 HashMap<const ContainerNode*, OwnPtr<ScopedStyleResolver> >::AddResult addResult = m_authorStyles.add(&scopingNode, nullptr)
    [all...]
ScopedStyleTree.h 42 ScopedStyleResolver* ensureScopedStyleResolver(ContainerNode& scopingNode);
43 ScopedStyleResolver* lookupScopedStyleResolverFor(const ContainerNode* scopingNode)
45 HashMap<const ContainerNode*, OwnPtr<ScopedStyleResolver> >::iterator it = m_authorStyles.find(scopingNode);
49 ScopedStyleResolver* scopedStyleResolverFor(const ContainerNode& scopingNode);
50 ScopedStyleResolver* addScopedStyleResolver(ContainerNode& scopingNode, bool& isNewEntry);
62 void remove(const ContainerNode* scopingNode);
64 void pushStyleCache(const ContainerNode& scopingNode, const ContainerNode* parent);
65 void popStyleCache(const ContainerNode& scopingNode);
75 void resolveStyleCache(const ContainerNode* scopingNode);
76 ScopedStyleResolver* enclosingScopedStyleResolverFor(const ContainerNode* scopingNode);
    [all...]
ScopedStyleResolver.h 48 static PassOwnPtr<ScopedStyleResolver> create(ContainerNode& scopingNode) { return adoptPtr(new ScopedStyleResolver(scopingNode)); }
52 const ContainerNode& scopingNode() const { return m_scopingNode; }
70 explicit ScopedStyleResolver(ContainerNode& scopingNode) : m_scopingNode(scopingNode), m_parent(0) { }
ScopedStyleResolver.cpp 133 const ContainerNode* scopingNode = &m_scopingNode;
140 scopingNode = toShadowRoot(m_scopingNode).host();
146 MatchRequest matchRequest(&m_authorStyleSheets[i]->ruleSet(), includeEmptyRules, scopingNode, applyAuthorStyles, i);
StyleResolver.cpp 206 ContainerNode* scopingNode = ScopedStyleResolver::scopingNodeFor(document(), cssSheet);
207 if (!scopingNode)
210 ScopedStyleResolver* resolver = ensureScopedStyleResolver(scopingNode);
284 void StyleResolver::resetAuthorStyle(const ContainerNode* scopingNode)
286 // FIXME: When chanking scoped attribute, scopingNode's hasScopedHTMLStyleChild has been already modified.
288 ScopedStyleResolver* resolver = scopingNode ? m_styleTree.lookupScopedStyleResolverFor(scopingNode) : m_styleTree.scopedStyleResolverForDocument();
292 treeBoundaryCrossingRules().reset(scopingNode);
296 if (!scopingNode)
299 m_styleTree.remove(scopingNode);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
StyleElement.h 49 void removedFromDocument(Document&, Element*, ContainerNode* scopingNode = 0);
StyleSheetCollection.cpp 96 ContainerNode* scopingNode = toHTMLStyleElement(node)->scopingNode();
97 if (!isTreeScopeRoot(scopingNode))
98 m_scopingNodesForStyleScoped.add(scopingNode);
101 void StyleSheetCollection::removeStyleSheetCandidateNode(Node* node, ContainerNode* scopingNode)
105 if (!isTreeScopeRoot(scopingNode))
106 m_scopingNodesForStyleScoped.remove(scopingNode);
StyleElement.cpp 67 void StyleElement::removedFromDocument(Document& document, Element* element, ContainerNode* scopingNode)
70 document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode);
86 document.styleEngine()->removeStyleSheetCandidateNode(element, isHTMLStyleElement(element) ? toHTMLStyleElement(element)->scopingNode() : 0);
StyleSheetCollection.h 81 void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode);
StyleEngine.cpp 312 void StyleEngine::removeStyleSheetCandidateNode(Node* node, ContainerNode* scopingNode)
314 TreeScope& treeScope = scopingNode ? scopingNode->treeScope() : m_document;
319 collection->removeStyleSheetCandidateNode(node, scopingNode);
StyleEngine.h 99 void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode = 0);
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLStyleElement.cpp 99 ContainerNode* scopingNode = 0;
101 scopingNode = containingShadowRoot();
102 unregisterWithScopingNode(scopingNode);
104 document().styleEngine()->removeStyleSheetCandidateNode(this, scopingNode);
239 ContainerNode* HTMLStyleElement::scopingNode()
HTMLStyleElement.h 46 ContainerNode* scopingNode();

Completed in 65 milliseconds