Home
last modified time | relevance | path

Searched refs:tagQName (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
DSelectorChecker.h157 inline bool SelectorChecker::tagMatches(const Element& element, const QualifiedName& tagQName, Matc… in tagMatches() argument
159 if (tagQName == anyQName()) in tagMatches()
161 const AtomicString& localName = tagQName.localName(); in tagMatches()
164 const AtomicString& namespaceURI = tagQName.namespaceURI(); in tagMatches()
DCSSParserValues.cpp173 CSSParserSelector::CSSParserSelector(const QualifiedName& tagQName) in CSSParserSelector() argument
174 : m_selector(adoptPtr(new CSSSelector(tagQName))) in CSSParserSelector()
214 if (m_selector->tagQName().localName() == starAtom) in isSimple()
239 void CSSParserSelector::prependTagSelector(const QualifiedName& tagQName, bool tagIsForNamespaceRul… in prependTagSelector() argument
246 m_selector = adoptPtr(new CSSSelector(tagQName, tagIsForNamespaceRule)); in prependTagSelector()
DCSSSelector.h204 const QualifiedName& tagQName() const;
398 inline CSSSelector::CSSSelector(const QualifiedName& tagQName, bool tagIsForNamespaceRule) in CSSSelector() argument
410 m_data.m_tagQName = tagQName.impl(); in CSSSelector()
448 inline const QualifiedName& CSSSelector::tagQName() const in tagQName() function
DSelectorChecker.cpp471 …return SelectorChecker::tagMatches(element, selector->tagQName(), elementIsHostInItsShadowTree ? M… in checkOne()
558 bool result = siblingTraversalStrategy.isFirstOfType(&element, element.tagQName()); in checkOne()
584 return siblingTraversalStrategy.isLastOfType(&element, element.tagQName()); in checkOne()
612 …tegy.isFirstOfType(&element, element.tagQName()) && siblingTraversalStrategy.isLastOfType(&element… in checkOne()
636 … int count = 1 + siblingTraversalStrategy.countElementsOfTypeBefore(&element, element.tagQName()); in checkOne()
666 … int count = 1 + siblingTraversalStrategy.countElementsOfTypeAfter(&element, element.tagQName()); in checkOne()
718 …xt.isSubSelector || (selector->m_match == CSSSelector::Tag && selector->tagQName() != anyQName() &… in checkOne()
732 …xt.isSubSelector || (selector->m_match == CSSSelector::Tag && selector->tagQName() != anyQName() &… in checkOne()
DSelectorFilter.cpp123 if (selector->tagQName().localName() != starAtom) in collectDescendantSelectorIdentifierHashes()
124 (*hash++) = selector->tagQName().localName().impl()->existingHash() * TagNameSalt; in collectDescendantSelectorIdentifierHashes()
DCSSSelectorList.cpp158 …elector->m_match == CSSSelector::Tag && selector->tagQName().prefix() != nullAtom && selector->tag… in operator ()()
DCSSSelector.cpp117 return (tagQName().localName() != starAtom) ? 1 : 0; in specificityForOneSelector()
133 s += tagQName().localName() == starAtom ? 0 : 4; in specificityForPage()
588 if (sel1->tagQName() != sel2->tagQName()) in operator ==()
606 if (tagQName().prefix().isNull()) in selectorText()
607 str.append(tagQName().localName()); in selectorText()
609 str.append(tagQName().prefix().string()); in selectorText()
611 str.append(tagQName().localName()); in selectorText()
DRuleSet.cpp55 const AtomicString& selectorNamespace = selector->tagQName().namespaceURI(); in isSelectorMatchingHTMLBasedOnRuleHash()
285 if (component->tagQName().localName() != starAtom) { in findBestRuleSetAndAdd()
292 … addToRuleSet(component->tagQName().localName().impl(), ensurePendingRules()->tagRules, ruleData); in findBestRuleSetAndAdd()
DPageRuleCollector.cpp91 const AtomicString& localName = component->tagQName().localName(); in checkPageSelectorComponents()
DSelectorCheckerFastPath.cpp93 return SelectorChecker::tagMatches(element, selector->tagQName()); in checkTagValue()
DElementRuleCollector.cpp274 …lector::Tag && !SelectorChecker::tagMatches(*m_context.element(), ruleData.selector()->tagQName())) in ruleMatches()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DFormatBlockCommand.cpp45 return node->isElementNode() && isElementForFormatBlock(toElement(node)->tagQName()); in isElementForFormatBlock()
75 if (isElementForFormatBlock(refNode->tagQName()) && start == startOfBlock(start) in formatRange()
DRemoveFormatCommand.cpp77 return elements.contains(element->tagQName()); in isElementForRemoveFormatCommand()
DIndentOutdentCommand.cpp75 RefPtr<Element> newList = document().createElement(listNode->tagQName(), false); in tryIndentingAsListItem()
Dhtmlediting.cpp747 … return firstList->hasTagName(secondList->tagQName()) // make sure the list types match (ol vs. ul) in canMergeLists()
1123 if (!firstElement->hasTagName(secondElement->tagQName())) in areIdenticalElements()
DMarkupAccumulator.cpp311 parentName = &(text->parentElement())->tagQName(); in entityMaskForText()
DApplyStyleCommand.cpp825 return (m_styledInlineElement && element->hasTagName(m_styledInlineElement->tagQName())) in isStyledInlineElementToRemove()
839 …nlineElement && !enclosingNodeWithTag(positionBeforeNode(node), m_styledInlineElement->tagQName())) in shouldApplyInlineStyleToRun()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DSharedStyleFinder.cpp174 if (candidate.tagQName() != element().tagQName()) in canShareStyleWithElement()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DSelectorQuery.cpp336 return collectElementsByTagName(rootNode, firstSelector->tagQName(), matchedElements); in executeQueryAll()
447 return findElementByTagName(rootNode, selector->tagQName()); in executeQueryFirst()
DElement.h218 const QualifiedName& tagQName() const { return m_tagName; } in tagQName() function
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DTextAutosizer.cpp348 …Node && parentNode->isElementNode() && formInputTags().contains(toElement(parentNode)->tagQName())) in isAutosizingContainer()
462 if (tags.contains(toElement(rendererNode)->tagQName())) in containerContainsOneOfTags()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFilterElement.cpp234 return allowedChildElementTags.contains<SVGAttributeHashTranslator>(svgElement->tagQName()); in childShouldCreateRenderer()
DSVGUseElement.cpp363 return !allowedElementTags.contains<SVGAttributeHashTranslator>(element->tagQName()); in isDisallowedElement()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLElement.cpp79 if (document().isHTMLDocument() && !tagQName().hasPrefix()) in nodeName()
80 return tagQName().localNameUpper(); in nodeName()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLDocumentParser.cpp55 const QualifiedName& contextTag = contextElement->tagQName(); in tokenizerStateForContextElement()

12