Home
last modified time | relevance | path

Searched refs:pseudoId (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DPseudoStyleRequest.h35 …PseudoStyleRequest(PseudoId pseudoId, RenderScrollbar* scrollbar = 0, ScrollbarPart scrollbarPart …
36 : pseudoId(pseudoId) in pseudoId() function
45 return parentStyle && pseudoId != BACKDROP; in allowsInheritance()
48 PseudoId pseudoId; variable
DElementRuleCollector.cpp146 const AtomicString& pseudoId = element.shadowPseudoId(); in collectMatchingRules() local
147 if (!pseudoId.isEmpty()) { in collectMatchingRules()
149 …collectMatchingRulesForList(matchRequest.ruleSet->shadowPseudoElementRules(pseudoId.impl()), behav… in collectMatchingRules()
265 if (m_pseudoStyleRequest.pseudoId != NOPSEUDO) in ruleMatches()
288 context.pseudoId = m_pseudoStyleRequest.pseudoId; in ruleMatches()
295 …if (m_pseudoStyleRequest.pseudoId != NOPSEUDO && m_pseudoStyleRequest.pseudoId != result->dynamicP… in ruleMatches()
319 if (dynamicPseudo != NOPSEUDO && m_pseudoStyleRequest.pseudoId == NOPSEUDO) { in collectRuleIfMatches()
DSelectorChecker.cpp75 …const AtomicString& pseudoId = selector->pseudoType() == CSSSelector::PseudoWebKitCustomElement ? … in matchesCustomPseudoElement() local
76 if (pseudoId != selector->value()) in matchesCustomPseudoElement()
149 PseudoId pseudoId = CSSSelector::pseudoId(context.selector->pseudoType()); in match() local
150 if (pseudoId == FIRST_LETTER) in match()
152 if (pseudoId != NOPSEUDO && m_mode != SharingRules && result) in match()
153 result->dynamicPseudo = pseudoId; in match()
175 if (context.pseudoId != NOPSEUDO && (!result || context.pseudoId != result->dynamicPseudo)) in match()
233 nextContext.pseudoId = NOPSEUDO; in matchForRelation()
DSelectorChecker.h74 , pseudoId(NOPSEUDO) in SelectorCheckingContext()
88 PseudoId pseudoId; member
DCSSSelector.h198 static PseudoId pseudoId(PseudoType);
DCSSSelector.cpp157 PseudoId CSSSelector::pseudoId(PseudoType type) in pseudoId() function in WebCore::CSSSelector
DCSSComputedStyleDeclaration.cpp1228 m_pseudoElementSpecifier = CSSSelector::pseudoId(CSSSelector::parsePseudoType( in CSSComputedStyleDeclaration()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPseudoElement.cpp43 String PseudoElement::pseudoElementNameForEvents(PseudoId pseudoId) in pseudoElementNameForEvents() argument
47 switch (pseudoId) { in pseudoElementNameForEvents()
57 PseudoElement::PseudoElement(Element* parent, PseudoId pseudoId) in PseudoElement() argument
59 , m_pseudoId(pseudoId) in PseudoElement()
61 ASSERT(pseudoId != NOPSEUDO); in PseudoElement()
DPseudoElement.h38 static PassRefPtr<PseudoElement> create(Element* parent, PseudoId pseudoId) in create() argument
40 return adoptRef(new PseudoElement(parent, pseudoId)); in create()
DElementRareData.h241 inline void ElementRareData::setPseudoElement(PseudoId pseudoId, PassRefPtr<PseudoElement> element) in setPseudoElement() argument
243 switch (pseudoId) { in setPseudoElement()
264 inline PseudoElement* ElementRareData::pseudoElement(PseudoId pseudoId) const in pseudoElement() argument
266 switch (pseudoId) { in pseudoElement()
DElement.cpp1471 PseudoId pseudoId = pseudoStyleCache->at(i)->styleType(); in pseudoStyleCacheIsInvalid() local
1472 if (pseudoId == FIRST_LINE || pseudoId == FIRST_LINE_INHERITED) in pseudoStyleCacheIsInvalid()
1475 …newPseudoStyle = renderer()->getUncachedPseudoStyle(PseudoStyleRequest(pseudoId), newStyle, newSty… in pseudoStyleCacheIsInvalid()
1479 if (pseudoId < FIRST_INTERNAL_PSEUDOID) in pseudoStyleCacheIsInvalid()
1480 newStyle->setHasPseudoStyle(pseudoId); in pseudoStyleCacheIsInvalid()
1482 if (pseudoId == FIRST_LINE || pseudoId == FIRST_LINE_INHERITED) { in pseudoStyleCacheIsInvalid()
2718 void Element::updatePseudoElement(PseudoId pseudoId, StyleRecalcChange change) in updatePseudoElement() argument
2720 PseudoElement* element = pseudoElement(pseudoId); in updatePseudoElement()
2725 renderer()->style()->removeCachedPseudoStyle(pseudoId); in updatePseudoElement()
2736 … if (!renderer() || !pseudoElementRendererIsNeeded(renderer()->getCachedPseudoStyle(pseudoId))) in updatePseudoElement()
[all …]
DNode.h230 bool isPseudoElement() const { return pseudoId() != NOPSEUDO; } in isPseudoElement()
231 bool isBeforePseudoElement() const { return pseudoId() == BEFORE; } in isBeforePseudoElement()
232 bool isAfterPseudoElement() const { return pseudoId() == AFTER; } in isAfterPseudoElement()
233 …PseudoId pseudoId() const { return (isElementNode() && hasCustomStyleCallbacks()) ? customPseudoId… in pseudoId() function
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleResolver.cpp886 …fPtr<PseudoElement> StyleResolver::createPseudoElementIfNeeded(Element& element, PseudoId pseudoId) in createPseudoElementIfNeeded() argument
892 if (pseudoId < FIRST_INTERNAL_PSEUDOID && !renderer->style()->hasPseudoStyle(pseudoId)) in createPseudoElementIfNeeded()
897 if (!pseudoStyleForElementInternal(element, pseudoId, parentStyle, state)) in createPseudoElementIfNeeded()
902 if (!element.needsPseudoElement(pseudoId, *style)) in createPseudoElementIfNeeded()
906 RefPtr<PseudoElement> pseudo = PseudoElement::create(&element, pseudoId); in createPseudoElementIfNeeded()
918 ASSERT(pseudoStyleRequest.pseudoId != FIRST_LINE_INHERITED); in pseudoStyleForElementInternal()
944 state.style()->setStyleType(pseudoStyleRequest.pseudoId); in pseudoStyleForElementInternal()
960 applyAnimatedProperties(state, element.pseudoElement(pseudoStyleRequest.pseudoId)); in pseudoStyleForElementInternal()
977 if (PseudoElement* pseudoElement = element->pseudoElement(pseudoStyleRequest.pseudoId)) in pseudoStyleForElement()
1097 PassRefPtr<CSSRuleList> StyleResolver::pseudoCSSRulesForElement(Element* element, PseudoId pseudoId in pseudoCSSRulesForElement() argument
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderScrollbar.cpp148 …tr<RenderStyle> RenderScrollbar::getScrollbarPseudoStyle(ScrollbarPart partType, PseudoId pseudoId) in getScrollbarPseudoStyle() argument
153 …e> result = owningRenderer()->getUncachedPseudoStyle(PseudoStyleRequest(pseudoId, this, partType),… in getScrollbarPseudoStyle()
DRenderObject.cpp2950 …if (pseudoStyleRequest.pseudoId < FIRST_INTERNAL_PSEUDOID && !ownStyle && !style()->hasPseudoStyle… in getUncachedPseudoStyle()
2966 if (pseudoStyleRequest.pseudoId == FIRST_LINE_INHERITED) { in getUncachedPseudoStyle()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DStylesSidebarPane.js453 for (var pseudoId in this.sections) {
454 var styleRules = this._refreshStyleRules(this.sections[pseudoId], computedStyle);
484 var pseudoId = pseudoElementCSSRules.pseudoId;
486 var entry = { isStyleSeparator: true, pseudoId: pseudoId }; property
496 …this.sections[pseudoId] = this._rebuildSectionsForStyleRules(styleRules, usedProperties, anchorEle…
702 … var pseudoName = WebInspector.StylesSidebarPane.PseudoIdNames[styleRule.pseudoId];
751 for (var pseudoId in this.sections) {
752 var sections = this.sections[pseudoId];
801 for (var pseudoId in this.sections) {
802 var sections = this.sections[pseudoId];
DCSSStyleModel.js124 …result.pseudoElements.push({ pseudoId: entryPayload.pseudoId, rules: WebInspector.CSSStyleModel.pa… property
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorCSSAgent.cpp941 PseudoId elementPseudoId = element->pseudoId(); in getMatchedStylesForNode()
963 …for (PseudoId pseudoId = FIRST_PUBLIC_PSEUDOID; pseudoId < AFTER_LAST_INTERNAL_PSEUDOID; pseudoId in getMatchedStylesForNode() local
964 …uleList> matchedRules = styleResolver.pseudoCSSRulesForElement(element, pseudoId, StyleResolver::A… in getMatchedStylesForNode()
967 .setPseudoId(static_cast<int>(pseudoId)) in getMatchedStylesForNode()
1598 …PseudoId selectorPseudoId = selector->matchesPseudoElement() ? CSSSelector::pseudoId(selector->pse… in matchesPseudoElement()
1619 PseudoId elementPseudoId = element->pseudoId(); in buildArrayForMatchedRuleList()
DInspectorOverlay.cpp542 if (pseudoElement->pseudoId() == BEFORE) in drawNodeHighlight()
544 else if (pseudoElement->pseudoId() == AFTER) in drawNodeHighlight()
DInspectorDOMAgent.cpp1509 switch (element->pseudoId()) { in buildObjectForNode()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.cpp156 …for (PseudoId pseudoId = FIRST_PUBLIC_PSEUDOID; pseudoId < FIRST_INTERNAL_PSEUDOID; pseudoId = sta… in comparePseudoStyles() local
157 if (!oldStyle->hasPseudoStyle(pseudoId)) in comparePseudoStyles()
159 RenderStyle* newPseudoStyle = newStyle->getCachedPseudoStyle(pseudoId); in comparePseudoStyles()
162 RenderStyle* oldPseudoStyle = oldStyle->getCachedPseudoStyle(pseudoId); in comparePseudoStyles()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DDOMWindow.cpp1347 PseudoId pseudoId = CSSSelector::pseudoId(pseudoType); in getMatchedCSSRules() local
1349 …return m_frame->document()->ensureStyleResolver().pseudoCSSRulesForElement(element, pseudoId, rule… in getMatchedCSSRules()
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
DAnimationController.cpp196 …tType, it->name, it->elapsedTime, PseudoElement::pseudoElementNameForEvents(element->pseudoId()))); in fireEventsAndUpdateStyle()
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimations.cpp770 String pseudoElement = PseudoElement::pseudoElementNameForEvents(m_target->pseudoId()); in onEventCondition()