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.cpp 50 , m_mode(SelectorChecker::ResolvingStyle)
51 , m_behaviorAtBoundary(SelectorChecker::DoesNotCrossBoundary)
64 ASSERT(m_mode == SelectorChecker::CollectingRules);
101 static bool rulesApplicableInCurrentTreeScope(const Element* element, const ContainerNode* scopingNode, SelectorChecker::BehaviorAtBoundary behaviorAtBoundary, bool elementApplyAuthorStyles)
113 if (element->isInShadowTree() && (behaviorAtBoundary & SelectorChecker::ScopeIsShadowHost) && scopingNode == element->containingShadowRoot()->host())
116 if ((behaviorAtBoundary & SelectorChecker::BoundaryBehaviorMask) == SelectorChecker::CrossesBoundary)
156 if (SelectorChecker::matchesFocusPseudoClass(element))
186 if (m_mode == SelectorChecker::CollectingRules) {
214 if (ruleData.selector()->m_match == CSSSelector::Tag && !SelectorChecker::tagMatches(m_context.element(), ruleData.selector()->tagQName())
    [all...]
SelectorChecker.h 41 class SelectorChecker {
42 WTF_MAKE_NONCOPYABLE(SelectorChecker);
47 explicit SelectorChecker(Document*, Mode);
121 inline bool SelectorChecker::isCommonPseudoClassSelector(const CSSSelector* selector)
132 inline bool SelectorChecker::tagMatches(const Element* element, const QualifiedName& tagQName)
143 inline bool SelectorChecker::checkExactAttribute(const Element* element, const QualifiedName& selectorAttributeName, const StringImpl* value)
ElementRuleCollector.h 26 #include "core/css/SelectorChecker.h"
81 void setBehaviorAtBoundary(SelectorChecker::BehaviorAtBoundary boundary) { m_behaviorAtBoundary = boundary; }
82 SelectorChecker::BehaviorAtBoundary behaviorAtBoundary() const { return m_behaviorAtBoundary; }
86 void setMode(SelectorChecker::Mode mode) { m_mode = mode; }
127 SelectorChecker::Mode m_mode;
128 SelectorChecker::BehaviorAtBoundary m_behaviorAtBoundary;
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"
66 SelectorChecker::SelectorChecker(Document* document, Mode mode)
95 Element* SelectorChecker::parentElement(const SelectorCheckingContext& context) const
98 if ((context.behaviorAtBoundary & SelectorChecker::BoundaryBehaviorMask) == SelectorChecker::CrossesBoundary)
102 if (!(context.behaviorAtBoundary & SelectorChecker::ScopeIsShadowHost))
106 return (context.behaviorAtBoundary & SelectorChecker::BoundaryBehaviorMask) != SelectorChecker::StaysWithinTreeScope ? context.element->parentOrShadowHostElement() : context.element->parentElement();
109 bool SelectorChecker::scopeContainsLastMatchedElement(const SelectorCheckingContext& context) cons
    [all...]
RuleSet.cpp 39 #include "core/css/SelectorChecker.h"
76 if (SelectorChecker::isCommonPseudoClassSelector(selector))
215 , m_linkMatchType(SelectorChecker::determineLinkMatchType(selector()))
274 if (SelectorChecker::isCommonPseudoClassSelector(component)) {
294 && (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 33 #include "core/css/SelectorChecker.h"
111 SelectorChecker selectorChecker(element->document(), SelectorChecker::CollectingRules);
112 SelectorChecker::SelectorCheckingContext context(selector, element, SelectorChecker::VisitedMatchEnabled);
115 return selectorChecker.match(context, ignoreDynamicPseudo, strategy) == SelectorChecker::SelectorMatches;
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
MatchResult.h 27 #include "core/css/SelectorChecker.h"
77 void addMatchedProperties(const StylePropertySet* properties, StyleRule* = 0, unsigned linkMatchType = SelectorChecker::MatchAll, PropertyWhitelistType = PropertyWhitelistNone);
ScopedStyleResolver.cpp 376 collector.setBehaviorAtBoundary(static_cast<SelectorChecker::BehaviorAtBoundary>(SelectorChecker::DoesNotCrossBoundary | SelectorChecker::ScopeContainsLastMatchedElement));
399 unsigned behaviorAtBoundary = SelectorChecker::DoesNotCrossBoundary;
402 behaviorAtBoundary |= SelectorChecker::ScopeContainsLastMatchedElement;
406 behaviorAtBoundary |= SelectorChecker::ScopeIsShadowHost;
411 collector.setBehaviorAtBoundary(static_cast<SelectorChecker::BehaviorAtBoundary>(behaviorAtBoundary));
StyleResolver.h 31 #include "core/css/SelectorChecker.h"
372 SelectorChecker selectorChecker(regionElement->document(), SelectorChecker::QueryingRules);
374 SelectorChecker::SelectorCheckingContext selectorCheckingContext(s, regionElement, SelectorChecker::VisitedMatchDisabled);
376 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches)
StyleResolver.cpp 300 SelectorChecker::BehaviorAtBoundary previousBoundary = collector.behaviorAtBoundary();
301 collector.setBehaviorAtBoundary(static_cast<SelectorChecker::BehaviorAtBoundary>(SelectorChecker::CrossesBoundary | SelectorChecker::ScopeContainsLastMatchedElement));
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
SelectorQuery.cpp 32 #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;
156 return selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/
webcore_remaining.target.darwin-arm.mk 153 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.darwin-mips.mk 153 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.darwin-x86.mk 153 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.linux-arm.mk 153 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.linux-mips.mk 153 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]
webcore_remaining.target.linux-x86.mk 153 third_party/WebKit/Source/core/css/SelectorChecker.cpp \
    [all...]

Completed in 714 milliseconds