Home
last modified time | relevance | path

Searched refs:SelectorChecker (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
DElementRuleCollector.cpp54 , m_mode(SelectorChecker::ResolvingStyle) in ElementRuleCollector()
71 ASSERT(m_mode == SelectorChecker::CollectingStyleRules); in matchedStyleRuleList()
77 ASSERT(m_mode == SelectorChecker::CollectingCSSRules); in matchedCSSRuleList()
131 if (SelectorChecker::isHostInItsShadowTree(*element, scopingNode)) in rulesApplicableInCurrentTreeScope()
136 …atchingRules(const MatchRequest& matchRequest, RuleRange& ruleRange, SelectorChecker::ContextFlags… in collectMatchingRules()
170 if (SelectorChecker::matchesFocusPseudoClass(element)) in collectMatchingRules()
235 if (m_mode == SelectorChecker::CollectingStyleRules) { in sortAndTransferMatchedRules()
241 if (m_mode == SelectorChecker::CollectingCSSRules) { in sortAndTransferMatchedRules()
257 …uleData& ruleData, const ContainerNode* scope, SelectorChecker::ContextFlags contextFlags, Selecto… in ruleMatches()
259 SelectorChecker selectorChecker(m_context.element()->document(), m_mode); in ruleMatches()
[all …]
DElementRuleCollector.h117 void setMode(SelectorChecker::Mode mode) { m_mode = mode; } in setMode()
128 …ollectMatchingRules(const MatchRequest&, RuleRange&, SelectorChecker::ContextFlags = SelectorCheck…
134 …void collectRuleIfMatches(const RuleData&, SelectorChecker::ContextFlags, CascadeScope, CascadeOrd…
137 …void collectMatchingRulesForList(const RuleDataListType* rules, SelectorChecker::ContextFlags cont… in collectMatchingRulesForList()
146 …Matches(const RuleData&, const ContainerNode* scope, SelectorChecker::ContextFlags, SelectorChecke…
165 SelectorChecker::Mode m_mode;
DSelectorChecker.cpp64 SelectorChecker::SelectorChecker(Document& document, Mode mode) in SelectorChecker() function in blink::SelectorChecker
82 static Element* parentElement(const SelectorChecker::SelectorCheckingContext& context) in parentElement()
94 static bool scopeContainsLastMatchedElement(const SelectorChecker::SelectorCheckingContext& context) in scopeContainsLastMatchedElement()
96 if (!(context.contextFlags & SelectorChecker::ScopeContainsLastMatchedElement)) in scopeContainsLastMatchedElement()
109 static inline bool nextSelectorExceedsScope(const SelectorChecker::SelectorCheckingContext& context) in nextSelectorExceedsScope()
124 SelectorChecker::Match SelectorChecker::match(const SelectorCheckingContext& context, const Sibling… in match()
189 static inline SelectorChecker::SelectorCheckingContext prepareNextContextForRelation(const Selector… in prepareNextContextForRelation()
191 SelectorChecker::SelectorCheckingContext nextContext(context); in prepareNextContextForRelation()
203 SelectorChecker::Match SelectorChecker::matchForSubSelector(const SelectorCheckingContext& context,… in matchForSubSelector()
228 SelectorChecker::Match SelectorChecker::matchForPseudoShadow(const ContainerNode* node, const Selec… in matchForPseudoShadow()
[all …]
DSelectorChecker.h43 class SelectorChecker {
44 WTF_MAKE_NONCOPYABLE(SelectorChecker);
49 explicit SelectorChecker(Document&, Mode);
144 inline bool SelectorChecker::isCommonPseudoClassSelector(const CSSSelector& selector) in isCommonPseudoClassSelector()
155 inline bool SelectorChecker::tagMatches(const Element& element, const QualifiedName& tagQName) in tagMatches()
166 inline bool SelectorChecker::checkExactAttribute(const Element& element, const QualifiedName& selec… in checkExactAttribute()
177 inline bool SelectorChecker::isHostInItsShadowTree(const Element& element, const ContainerNode* sco… in isHostInItsShadowTree()
DRuleSet.cpp66 if (SelectorChecker::isCommonPseudoClassSelector(selector)) in isSelectorMatchingHTMLBasedOnRuleHash()
135 , m_linkMatchType(SelectorChecker::determineLinkMatchType(selector())) in RuleData()
214 if (SelectorChecker::isCommonPseudoClassSelector(component)) { in findBestRuleSetAndAdd()
DTreeBoundaryCrossingRules.cpp84 …collector.collectMatchingRules(request, ruleRange, SelectorChecker::ScopeContainsLastMatchedElemen… in collectTreeBoundaryCrossingRules()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLContentElement.cpp119 SelectorChecker selectorChecker(element->document(), SelectorChecker::CollectingCSSRules); in checkOneSelector()
120SelectorChecker::SelectorCheckingContext context(selector, element, SelectorChecker::VisitedMatchE… in checkOneSelector()
122 return selectorChecker.match(context, strategy) == SelectorChecker::SelectorMatches; in checkOneSelector()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DScopedStyleResolver.cpp126 unsigned contextFlags = SelectorChecker::DefaultBehavior; in collectMatchingAuthorRules()
129 contextFlags |= SelectorChecker::ScopeContainsLastMatchedElement; in collectMatchingAuthorRules()
134 …collector.collectMatchingRules(matchRequest, ruleRange, static_cast<SelectorChecker::ContextFlags>… in collectMatchingAuthorRules()
DMatchResult.h86 …perties(const StylePropertySet* properties, unsigned linkMatchType = SelectorChecker::MatchAll, Pr…
DStyleResolver.cpp930 collector.setMode(SelectorChecker::CollectingStyleRules); in styleRulesForElement()
940 collector.setMode(SelectorChecker::CollectingCSSRules); in pseudoCSSRulesForElement()
1359 state.setApplyPropertyToRegularStyle(linkMatchType & SelectorChecker::MatchLink); in applyMatchedProperties()
1360 state.setApplyPropertyToVisitedLinkStyle(linkMatchType & SelectorChecker::MatchVisited); in applyMatchedProperties()
1486 collector.setMode(SelectorChecker::CollectingStyleRules); in applyCallbackSelectors()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DSelectorQuery.cpp120 SelectorChecker selectorChecker(element.document(), SelectorChecker::QueryingRules); in selectorMatches()
121SelectorChecker::SelectorCheckingContext selectorCheckingContext(selector, &element, SelectorCheck… in selectorMatches()
124 selectorCheckingContext.contextFlags = SelectorChecker::ScopeContainsLastMatchedElement; in selectorMatches()
125 …ker.match(selectorCheckingContext, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatc… in selectorMatches()
169 if (SelectorChecker::tagMatches(*element, tagName)) { in collectElementsByTagName()
/external/chromium_org/tools/perf/measurements/test_data/
Dloading_profile.csv1SelectorChecker::Match WebCore::SelectorChecker::match const (period),WebCore::SelectorFilter::fas…
/external/chromium_org/tools/telemetry/unittest_data/
Dperf_report_output.txt157 … ^[.] bool WebCore::SelectorChecker::checkOne<WebCore::DOMSiblingTraversalStrategy>(We…
159 …--- bool WebCore::SelectorChecker::checkOne<WebCore::DOMSiblingTraversalStrategy>(WebCore::Selecto…
1154 …ea^chrome ^[.] WebCore::SelectorChecker::SelectorChecker(WebCore::Document*, WebCore…
1156 … --- WebCore::SelectorChecker::SelectorChecker(WebCore::Document*, WebCore::SelectorChecker::Mode)
1574 … WebCore::SelectorCheckerFastPath::matchesRightmostSelector(WebCore::SelectorChecker::VisitedMatch…
1576 …--- WebCore::SelectorCheckerFastPath::matchesRightmostSelector(WebCore::SelectorChecker::VisitedMa…
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_remaining.target.linux-mips64.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.darwin-x86.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.darwin-arm.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.linux-mips.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.darwin-arm64.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.linux-arm64.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.linux-x86_64.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.darwin-mips.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.linux-arm.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.linux-x86.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.darwin-mips64.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
Dwebcore_remaining.target.darwin-x86_64.mk206 third_party/WebKit/Source/core/css/SelectorChecker.cpp \

12