Lines Matching defs:shadowRoot
160 inline RuleSet* StyleScopeResolver::ensureAtHostRuleSetFor(const ShadowRoot* shadowRoot)
162 ScopedRuleSetMap::AddResult addResult = m_atHostRules.add(shadowRoot, nullptr);
168 inline RuleSet* StyleScopeResolver::atHostRuleSetFor(const ShadowRoot* shadowRoot) const
170 ScopedRuleSetMap::const_iterator it = m_atHostRules.find(shadowRoot);
180 ShadowRoot* shadowRoot = scope->containingShadowRoot();
181 if (!shadowRoot || !shadowRoot->host())
184 RuleSet* rule = ensureAtHostRuleSetFor(shadowRoot);
210 if (ShadowRoot* shadowRoot = shadow->shadowRoot()) {
211 if (atHostRuleSetFor(shadowRoot))
230 if (ShadowRoot* shadowRoot = shadow->shadowRoot()) {
231 if (RuleSet* ruleSet = atHostRuleSetFor(shadowRoot))