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

  /external/chromium_org/third_party/WebKit/Source/core/css/
SelectorCheckerFastPath.h 33 #include "core/css/SelectorChecker.h"
42 bool matchesRightmostSelector(SelectorChecker::VisitedMatchType) const;
48 bool commonPseudoClassSelectorMatches(SelectorChecker::VisitedMatchType) const;
57 return SelectorChecker::checkExactAttribute(m_element, m_selector->attribute(), m_selector->value().impl());
ElementRuleCollector.h 26 #include "core/css/SelectorChecker.h"
94 void setMode(SelectorChecker::Mode mode) { m_mode = mode; }
106 void collectMatchingRules(const MatchRequest&, RuleRange&, SelectorChecker::BehaviorAtBoundary = SelectorChecker::DoesNotCrossBoundary, CascadeScope = ignoreCascadeScope, CascadeOrder = ignoreCascadeOrder);
107 void collectMatchingRulesForRegion(const MatchRequest&, RuleRange&, SelectorChecker::BehaviorAtBoundary = SelectorChecker::DoesNotCrossBoundary, CascadeScope = ignoreCascadeScope, CascadeOrder = ignoreCascadeOrder);
117 void collectRuleIfMatches(const RuleData&, SelectorChecker::BehaviorAtBoundary, CascadeScope, CascadeOrder, const MatchRequest&, RuleRange&);
118 void collectMatchingRulesForList(const Vector<RuleData>*, SelectorChecker::BehaviorAtBoundary, CascadeScope, CascadeOrder, const MatchRequest&, RuleRange&);
119 void collectMatchingRulesForList(const RuleData*, SelectorChecker::BehaviorAtBoundary, CascadeScope, CascadeOrder, const MatchRequest&, RuleRange&);
120 bool ruleMatches(const RuleData&, const ContainerNode* scope, SelectorChecker::BehaviorAtBoundary, SelectorChecker::MatchResult*)
    [all...]
ElementRuleCollector.cpp 52 , m_mode(SelectorChecker::ResolvingStyle)
70 ASSERT(m_mode == SelectorChecker::CollectingStyleRules);
76 ASSERT(m_mode == SelectorChecker::CollectingCSSRules);
120 static bool rulesApplicableInCurrentTreeScope(const Element* element, const ContainerNode* scopingNode, SelectorChecker::BehaviorAtBoundary behaviorAtBoundary, bool elementApplyAuthorStyles)
132 if (element->isInShadowTree() && (behaviorAtBoundary & SelectorChecker::ScopeIsShadowHost) && scopingNode == element->containingShadowRoot()->host())
135 if ((behaviorAtBoundary & SelectorChecker::BoundaryBehaviorMask) == SelectorChecker::CrossesBoundary)
140 void ElementRuleCollector::collectMatchingRules(const MatchRequest& matchRequest, RuleRange& ruleRange, SelectorChecker::BehaviorAtBoundary behaviorAtBoundary, CascadeScope cascadeScope, CascadeOrder cascadeOrder)
175 if (SelectorChecker::matchesFocusPseudoClass(element))
181 void ElementRuleCollector::collectMatchingRulesForRegion(const MatchRequest& matchRequest, RuleRange& ruleRange, SelectorChecker::BehaviorAtBoundary behaviorAtBoundary, CascadeScope cascadeScope, CascadeOrder cascadeOrder
    [all...]
SelectorChecker.h 43 class SelectorChecker {
44 WTF_MAKE_NONCOPYABLE(SelectorChecker);
49 explicit SelectorChecker(Document&, Mode);
146 inline bool SelectorChecker::isCommonPseudoClassSelector(const CSSSelector* selector)
157 inline bool SelectorChecker::tagMatches(const Element& element, const QualifiedName& tagQName, MatchingTagType matchingTagType)
168 inline bool SelectorChecker::checkExactAttribute(const Element& element, const QualifiedName& selectorAttributeName, const StringImpl* value)
181 inline bool SelectorChecker::isHostInItsShadowTree(const Element& element, BehaviorAtBoundary behaviorAtBoundary, const ContainerNode* scope)
SelectorCheckerFastPath.cpp 88 return SelectorChecker::checkExactAttribute(element, selector->attribute(), selector->value().impl());
93 return SelectorChecker::tagMatches(element, selector->tagQName());
104 bool SelectorCheckerFastPath::matchesRightmostSelector(SelectorChecker::VisitedMatchType visitedMatchType) const
128 ASSERT(matchesRightmostSelector(SelectorChecker::VisitedMatchEnabled));
190 return isFastCheckableMatch(selector) || SelectorChecker::isCommonPseudoClassSelector(selector);
206 bool SelectorCheckerFastPath::commonPseudoClassSelectorMatches(SelectorChecker::VisitedMatchType visitedMatchType) const
208 ASSERT(SelectorChecker::isCommonPseudoClassSelector(m_selector));
214 return m_element.isLink() && visitedMatchType == SelectorChecker::VisitedMatchEnabled;
216 return SelectorChecker::matchesFocusPseudoClass(m_element);
SelectorChecker.cpp 29 #include "core/css/SelectorChecker.h"
62 SelectorChecker::SelectorChecker(Document& document, Mode mode)
83 Element* SelectorChecker::parentElement(const SelectorCheckingContext& context) const
86 if ((context.behaviorAtBoundary & SelectorChecker::BoundaryBehaviorMask) == SelectorChecker::CrossesBoundary)
90 if (!(context.behaviorAtBoundary & SelectorChecker::ScopeIsShadowHost))
94 return (context.behaviorAtBoundary & SelectorChecker::BoundaryBehaviorMask) != SelectorChecker::StaysWithinTreeScope ? context.element->parentOrShadowHostElement() : context.element->parentElement();
97 bool SelectorChecker::scopeContainsLastMatchedElement(const SelectorCheckingContext& context) cons
    [all...]
RuleSet.cpp 37 #include "core/css/SelectorChecker.h"
62 if (SelectorChecker::isCommonPseudoClassSelector(selector))
201 , m_linkMatchType(SelectorChecker::determineLinkMatchType(selector()))
268 if (SelectorChecker::isCommonPseudoClassSelector(component)) {
288 && (component->tagHistory()->m_match == CSSSelector::Class || component->tagHistory()->m_match == CSSSelector::Id || SelectorChecker::isCommonPseudoClassSelector(component->tagHistory()))
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
HTMLContentElement.cpp 32 #include "core/css/SelectorChecker.h"
105 SelectorChecker selectorChecker(element->document(), SelectorChecker::CollectingCSSRules);
106 SelectorChecker::SelectorCheckingContext context(selector, element, SelectorChecker::VisitedMatchEnabled);
108 return selectorChecker.match(context, strategy) == SelectorChecker::SelectorMatches;
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
ScopedStyleResolver.cpp 134 unsigned behaviorAtBoundary = SelectorChecker::DoesNotCrossBoundary;
137 behaviorAtBoundary |= SelectorChecker::ScopeContainsLastMatchedElement;
141 behaviorAtBoundary |= SelectorChecker::ScopeIsShadowHost;
147 collector.collectMatchingRules(matchRequest, ruleRange, static_cast<SelectorChecker::BehaviorAtBoundary>(behaviorAtBoundary), cascadeScope, cascadeOrder);
148 collector.collectMatchingRulesForRegion(matchRequest, ruleRange, static_cast<SelectorChecker::BehaviorAtBoundary>(behaviorAtBoundary), cascadeScope, cascadeOrder);
MatchResult.h 27 #include "core/css/SelectorChecker.h"
77 void addMatchedProperties(const StylePropertySet* properties, StyleRule* = 0, unsigned linkMatchType = SelectorChecker::MatchAll, PropertyWhitelistType = PropertyWhitelistNone);
StyleResolver.h 30 #include "core/css/SelectorChecker.h"
345 SelectorChecker selectorChecker(regionElement->document(), SelectorChecker::QueryingRules);
347 SelectorChecker::SelectorCheckingContext selectorCheckingContext(s, regionElement, SelectorChecker::VisitedMatchDisabled);
348 if (selectorChecker.match(selectorCheckingContext, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches)
StyleResolver.cpp 423 unsigned boundaryBehavior = SelectorChecker::CrossesBoundary | SelectorChecker::ScopeContainsLastMatchedElement;
429 boundaryBehavior |= SelectorChecker::ScopeIsShadowHost;
432 collector.collectMatchingRules(MatchRequest(ruleSet, includeEmptyRules, scopingNode), ruleRange, static_cast<SelectorChecker::BehaviorAtBoundary>(boundaryBehavior), ignoreCascadeScope, cascadeOrder++);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
SelectorQuery.cpp 31 #include "core/css/SelectorChecker.h"
146 if (!selectorCheckerFastPath.matchesRightmostSelector(SelectorChecker::VisitedMatchDisabled))
151 SelectorChecker selectorChecker(element.document(), SelectorChecker::QueryingRules);
152 SelectorChecker::SelectorCheckingContext selectorCheckingContext(selectorData.selector, &element, SelectorChecker::VisitedMatchDisabled);
153 selectorCheckingContext.behaviorAtBoundary = SelectorChecker::StaysWithinTreeScope;
155 return selectorChecker.match(selectorCheckingContext, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/
webcore_remaining.target.darwin-arm.mk 183 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.darwin-mips.mk 183 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.darwin-x86.mk 183 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.linux-arm.mk 183 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.linux-mips.mk 183 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.linux-x86.mk 183 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]

Completed in 725 milliseconds