Lines Matching defs:element
95 // The scoping element stack shouldn't be used if <style scoped> isn't used anywhere.
115 // Shortcut: Don't bother with the scoping element stack if <style scoped> isn't used anywhere.
123 // Recreate the whole scoping element stack in such cases.
140 // Only bother to update the scoping element stack if it is consistent.
197 bool StyleScopeResolver::styleSharingCandidateMatchesHostRules(const Element* element)
202 ElementShadow* shadow = element->shadow();
208 // applied to the element or not. So we can avoid always traversing
217 void StyleScopeResolver::matchHostRules(const Element* element, Vector<RuleSet*>& matchedRules)
222 ElementShadow* shadow = element->shadow();
228 // applied to the element or not. So we can quickly exit this method