Lines Matching defs:selector
82 static inline bool includesDisallowedPseudoClass(const CSSSelector& selector)
84 if (selector.pseudoType() == CSSSelector::PseudoNot) {
85 const CSSSelector* subSelector = selector.selectorList()->first();
88 return selector.match() == CSSSelector::PseudoClass;
103 for (const CSSSelector* selector = m_selectorList.first(); selector; selector = m_selectorList.next(*selector)) {
104 if (!selector->isCompound())
108 for (const CSSSelector* subSelector = selector; subSelector; subSelector = subSelector->tagHistory()) {
116 static inline bool checkOneSelector(const CSSSelector& selector, const WillBeHeapVector<RawPtrWillBeMember<Node>, 32>& siblings, int nth)
120 SelectorChecker::SelectorCheckingContext context(selector, element, SelectorChecker::VisitedMatchEnabled);
127 for (const CSSSelector* selector = selectorList().first(); selector; selector = CSSSelectorList::next(*selector)) {
128 if (checkOneSelector(*selector, siblings, nth))