OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CSSSelector
(Results
1 - 25
of
48
) sorted by null
1
2
/external/chromium_org/third_party/WebKit/Source/core/css/
CSSSelectorList.h
29
#include "core/css/
CSSSelector
.h"
47
const
CSSSelector
* first() const { return m_selectorArray; }
48
static const
CSSSelector
* next(const
CSSSelector
*);
50
const
CSSSelector
* selectorAt(size_t index) const { return &m_selectorArray[index]; }
54
const
CSSSelector
* current = selectorAt(index);
77
CSSSelector
* m_selectorArray;
80
inline const
CSSSelector
* CSSSelectorList::next(const
CSSSelector
* current)
SelectorCheckerFastPath.h
32
#include "core/css/
CSSSelector
.h"
39
SelectorCheckerFastPath(const
CSSSelector
*, const Element&);
45
static bool canUse(const
CSSSelector
*);
50
const
CSSSelector
* m_selector;
56
if (m_selector->m_match ==
CSSSelector
::Exact || m_selector->m_match ==
CSSSelector
::Set)
CSSSelector.cpp
27
#include "core/css/
CSSSelector
.h"
48
COMPILE_ASSERT(sizeof(
CSSSelector
) == sizeof(SameSizeAsCSSSelector), CSSSelectorShouldStaySmall);
50
void
CSSSelector
::createRareData()
60
unsigned
CSSSelector
::specificity() const
74
for (const
CSSSelector
* selector = this; selector; selector = selector->tagHistory()) {
89
inline unsigned
CSSSelector
::specificityForOneSelector() const
125
unsigned
CSSSelector
::specificityForPage() const
130
for (const
CSSSelector
* component = this; component; component = component->tagHistory()) {
157
PseudoId
CSSSelector
::pseudoId(PseudoType type)
268
static HashMap<StringImpl*,
CSSSelector
::PseudoType>* nameToPseudoTypeMap(
[
all
...]
SelectorCheckerFastPath.cpp
42
template <bool checkValue(const Element&, const
CSSSelector
*)>
43
inline bool fastCheckSingleSelector(const
CSSSelector
*& selector, const Element*& element, const
CSSSelector
*& topChildOrSubselector, const Element*& topChildOrSubselectorMatchElement)
47
if (selector->relation() ==
CSSSelector
::Descendant)
50
ASSERT(selector->relation() ==
CSSSelector
::Child || selector->relation() ==
CSSSelector
::SubSelector);
54
if (selector->relation() !=
CSSSelector
::SubSelector)
76
inline bool checkClassValue(const Element& element, const
CSSSelector
* selector)
81
inline bool checkIDValue(const Element& element, const
CSSSelector
* selector)
86
inline bool checkExactAttributeValue(const Element& element, const
CSSSelector
* selector
[
all
...]
CSSSelectorList.cpp
43
m_selectorArray = reinterpret_cast<
CSSSelector
*>(fastMalloc(sizeof(
CSSSelector
) * otherLength));
45
new (&m_selectorArray[i])
CSSSelector
(other.m_selectorArray[i]);
64
m_selectorArray = reinterpret_cast<
CSSSelector
*>(fastMalloc(sizeof(
CSSSelector
) * flattenedSize));
70
CSSSelector
* currentSelector = current->releaseSelector().leakPtr();
71
memcpy(&m_selectorArray[arrayIndex], currentSelector, sizeof(
CSSSelector
));
91
CSSSelector
* current = m_selectorArray;
103
for (
CSSSelector
* s = m_selectorArray; !finished; ++s) {
105
s->~
CSSSelector
();
[
all
...]
CSSSelector.h
34
class
CSSSelector
{
37
CSSSelector
();
38
CSSSelector
(const
CSSSelector
&);
39
explicit
CSSSelector
(const QualifiedName&, bool tagIsForNamespaceRule = false);
41
~
CSSSelector
();
49
bool operator==(const
CSSSelector
&) const;
202
const
CSSSelector
* tagHistory() const { return m_isLastInTagHistory ? 0 : const_cast<
CSSSelector
*>(this + 1); }
269
CSSSelector
& operator=(const CSSSelector&)
[
all
...]
SelectorChecker.cpp
69
static bool matchesCustomPseudoElement(const Element* element, const
CSSSelector
* selector)
75
const AtomicString& pseudoId = selector->pseudoType() ==
CSSSelector
::PseudoWebKitCustomElement ? element->shadowPseudoId() : element->pseudo();
78
if (selector->pseudoType() ==
CSSSelector
::PseudoWebKitCustomElement && root->type() != ShadowRoot::UserAgentShadowRoot)
138
if (context.selector->m_match ==
CSSSelector
::PseudoElement) {
149
PseudoId pseudoId =
CSSSelector
::pseudoId(context.selector->pseudoType());
158
const
CSSSelector
* historySelector = context.selector->tagHistory();
169
if (context.selector->relation() !=
CSSSelector
::SubSelector) {
215
&& !(nextContext.hasScrollbarPseudo && nextContext.selector->m_match ==
CSSSelector
::PseudoClass))
227
CSSSelector
::Relation relation = context.selector->relation();
230
if (!context.isSubSelector && (context.element->isLink() || (relation !=
CSSSelector
::Descendant && relation != CSSSelector::Child))
[
all
...]
SelectorFilter.cpp
32
#include "core/css/
CSSSelector
.h"
111
static inline void collectDescendantSelectorIdentifierHashes(const
CSSSelector
* selector, unsigned*& hash)
114
case
CSSSelector
::Id:
118
case
CSSSelector
::Class:
122
case
CSSSelector
::Tag:
131
void SelectorFilter::collectIdentifierHashes(const
CSSSelector
* selector, unsigned* identifierHashes, unsigned maximumIdentifierCount)
135
CSSSelector
::Relation relation = selector->relation();
143
case
CSSSelector
::SubSelector:
147
case
CSSSelector
::DirectAdjacent:
148
case
CSSSelector
::IndirectAdjacent
[
all
...]
PageRuleCollector.cpp
87
static bool checkPageSelectorComponents(const
CSSSelector
* selector, bool isLeftPage, bool isFirstPage, const String& pageName)
89
for (const
CSSSelector
* component = selector; component; component = component->tagHistory()) {
90
if (component->m_match ==
CSSSelector
::Tag) {
96
CSSSelector
::PseudoType pseudoType = component->pseudoType();
97
if ((pseudoType ==
CSSSelector
::PseudoLeftPage && !isLeftPage)
98
|| (pseudoType ==
CSSSelector
::PseudoRightPage && isLeftPage)
99
|| (pseudoType ==
CSSSelector
::PseudoFirstPage && !isFirstPage))
RuleFeature.cpp
33
#include "core/css/
CSSSelector
.h"
38
void RuleFeatureSet::collectFeaturesFromSelector(const
CSSSelector
* selector)
40
if (selector->m_match ==
CSSSelector
::Id)
42
else if (selector->m_match ==
CSSSelector
::Class)
47
case
CSSSelector
::PseudoFirstLine:
51
case
CSSSelector
::PseudoHost:
64
for (const
CSSSelector
* selector = selectorList->first(); selector; selector = CSSSelectorList::next(selector)) {
65
for (const
CSSSelector
* subSelector = selector; subSelector; subSelector = subSelector->tagHistory())
SelectorChecker.h
31
#include "core/css/
CSSSelector
.h"
37
class
CSSSelector
;
69
SelectorCheckingContext(const
CSSSelector
* selector, Element* element, VisitedMatchType visitedMatchType)
84
const
CSSSelector
* selector;
118
static bool isCommonPseudoClassSelector(const
CSSSelector
*);
123
static unsigned determineLinkMatchType(const
CSSSelector
*);
135
bool checkScrollbarPseudoClass(const SelectorCheckingContext&, Document*, const
CSSSelector
*) const;
146
inline bool SelectorChecker::isCommonPseudoClassSelector(const
CSSSelector
* selector)
148
if (selector->m_match !=
CSSSelector
::PseudoClass)
150
CSSSelector
::PseudoType pseudoType = selector->pseudoType()
[
all
...]
RuleSet.cpp
35
#include "core/css/
CSSSelector
.h"
51
static inline bool isSelectorMatchingHTMLBasedOnRuleHash(const
CSSSelector
* selector)
54
if (selector->m_match ==
CSSSelector
::Tag) {
58
if (selector->relation() ==
CSSSelector
::SubSelector)
64
return selector->m_match ==
CSSSelector
::Id || selector->m_match ==
CSSSelector
::Class;
67
static inline bool selectorListContainsUncommonAttributeSelector(const
CSSSelector
* selector)
72
for (const
CSSSelector
* selector = selectorList->first(); selector; selector = CSSSelectorList::next(selector)) {
73
for (const
CSSSelector
* component = selector; component; component = component->tagHistory()) {
87
static inline bool containsUncommonAttributeSelector(const
CSSSelector
* selector
[
all
...]
StyleInvalidationAnalysis.cpp
49
for (const
CSSSelector
* selector = selectorList.first(); selector; selector = CSSSelectorList::next(selector)) {
50
const
CSSSelector
* scopeSelector = 0;
52
for (const
CSSSelector
* current = selector; current; current = current->tagHistory()) {
54
if (current->m_match ==
CSSSelector
::Id)
56
else if (current->m_match ==
CSSSelector
::Class && (!scopeSelector || scopeSelector->m_match !=
CSSSelector
::Id))
58
CSSSelector
::Relation relation = current->relation();
59
if (relation !=
CSSSelector
::Descendant && relation !=
CSSSelector
::Child && relation !=
CSSSelector
::SubSelector
[
all
...]
SelectorFilter.h
38
class
CSSSelector
;
53
static void collectIdentifierHashes(const
CSSSelector
*, unsigned* identifierHashes, unsigned maximumIdentifierCount);
CSSParserValues.h
26
#include "core/css/
CSSSelector
.h"
216
PassOwnPtr<
CSSSelector
> releaseSelector() { return m_selector.release(); }
218
CSSSelector
::Relation relation() const { return m_selector->relation(); }
222
void setMatch(
CSSSelector
::Match value) { m_selector->m_match = value; }
223
void setRelation(
CSSSelector
::Relation value) { m_selector->m_relation = value; }
236
CSSSelector
::PseudoType pseudoType() const { return m_selector->pseudoType(); }
238
bool needsCrossingTreeScopeBoundary() const { return isCustomPseudoElement() || pseudoType() ==
CSSSelector
::PseudoCue; }
246
void insertTagHistory(
CSSSelector
::Relation before, PassOwnPtr<CSSParserSelector>,
CSSSelector
::Relation after);
247
void appendTagHistory(
CSSSelector
::Relation, PassOwnPtr<CSSParserSelector>)
[
all
...]
CSSGrammar.y
35
#include "core/css/
CSSSelector
.h"
79
CSSSelector
::MarginBoxType marginBox;
80
CSSSelector
::Relation relation;
1015
$$ =
CSSSelector
::TopLeftCornerMarginBox;
1018
$$ =
CSSSelector
::TopLeftMarginBox;
1021
$$ =
CSSSelector
::TopCenterMarginBox;
1024
$$ =
CSSSelector
::TopRightMarginBox;
1027
$$ =
CSSSelector
::TopRightCornerMarginBox;
1030
$$ =
CSSSelector
::BottomLeftCornerMarginBox;
1033
$$ =
CSSSelector
::BottomLeftMarginBox
[
all
...]
CSSParserValues.cpp
168
: m_selector(adoptPtr(new
CSSSelector
()))
174
: m_selector(adoptPtr(new
CSSSelector
(tagQName)))
209
if (m_selector->m_match ==
CSSSelector
::Tag) {
221
void CSSParserSelector::insertTagHistory(
CSSSelector
::Relation before, PassOwnPtr<CSSParserSelector> selector,
CSSSelector
::Relation after)
230
void CSSParserSelector::appendTagHistory(
CSSSelector
::Relation relation, PassOwnPtr<CSSParserSelector> selector)
246
m_selector = adoptPtr(new
CSSSelector
(tagQName, tagIsForNamespaceRule));
247
m_selector->m_relation =
CSSSelector
::SubSelector;
RuleFeature.h
32
class
CSSSelector
;
57
void collectFeaturesFromSelector(const
CSSSelector
*);
RuleSet.h
49
class
CSSSelector
;
74
const
CSSSelector
* selector() const { return m_rule->selectorList().selectorAt(m_selectorIndex); }
157
RuleSetSelectorPair(const
CSSSelector
* selector, PassOwnPtr<RuleSet> ruleSet) : selector(selector), ruleSet(ruleSet) { }
160
const
CSSSelector
* selector;
183
bool findBestRuleSetAndAdd(const
CSSSelector
*, RuleData&);
CSSPageRule.cpp
26
#include "core/css/
CSSSelector
.h"
58
const
CSSSelector
* selector = m_pageRule->selector();
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
SelectRuleFeatureSet.cpp
34
#include "core/css/
CSSSelector
.h"
55
void SelectRuleFeatureSet::collectFeaturesFromSelector(const
CSSSelector
* selector)
60
case
CSSSelector
::PseudoChecked:
63
case
CSSSelector
::PseudoEnabled:
66
case
CSSSelector
::PseudoDisabled:
69
case
CSSSelector
::PseudoIndeterminate:
72
case
CSSSelector
::PseudoLink:
75
case
CSSSelector
::PseudoTarget:
78
case
CSSSelector
::PseudoVisited:
/external/chromium_org/third_party/WebKit/Source/web/
WebSelector.cpp
50
for (const
CSSSelector
* selector = selectorList.first(); selector; selector = selectorList.next(selector)) {
/external/chromium_org/third_party/WebKit/Source/core/dom/
SelectorQuery.h
36
class
CSSSelector
;
54
SelectorData(const
CSSSelector
* selector, bool isFastCheckable) : selector(selector), isFastCheckable(isFastCheckable) { }
55
const
CSSSelector
* selector;
SelectorQuery.cpp
134
for (const
CSSSelector
* selector = selectorList.first(); selector; selector = CSSSelectorList::next(selector))
138
for (const
CSSSelector
* selector = selectorList.first(); selector; selector = CSSSelectorList::next(selector))
250
for (const
CSSSelector
* selector = m_selectors[0].selector; selector; selector = selector->tagHistory()) {
251
if (selector->m_match ==
CSSSelector
::Id && !rootNode.document().containsMultipleElementsWithId(selector->value())) {
269
// If we have both
CSSSelector
::Id and
CSSSelector
::Class at the same time, we should use Id
271
if (!startFromParent && selector->m_match ==
CSSSelector
::Class) {
284
if (selector->relation() ==
CSSSelector
::SubSelector)
287
if (selector->relation() ==
CSSSelector
::DirectAdjacent || selector->relation() ==
CSSSelector
::IndirectAdjacent
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
HTMLContentElement.cpp
94
for (const
CSSSelector
* selector = m_selectorList.first(); selector; selector = m_selectorList.next(selector)) {
102
static inline bool checkOneSelector(const
CSSSelector
* selector, const Vector<Node*, 32>& siblings, int nth)
113
for (const
CSSSelector
* selector = selectorList().first(); selector; selector = CSSSelectorList::next(selector)) {
Completed in 321 milliseconds
1
2