/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | HTMLElementStack.cpp | 46 || item->hasTagName(htmlTag); in isRootNode() 51 return item->hasTagName(appletTag) in isScopeMarker() 52 || item->hasTagName(captionTag) in isScopeMarker() 53 || item->hasTagName(marqueeTag) in isScopeMarker() 54 || item->hasTagName(objectTag) in isScopeMarker() 55 || item->hasTagName(tableTag) in isScopeMarker() 56 || item->hasTagName(tdTag) in isScopeMarker() 57 || item->hasTagName(thTag) in isScopeMarker() 58 || item->hasTagName(MathMLNames::miTag) in isScopeMarker() 59 || item->hasTagName(MathMLNames::moTag) in isScopeMarker() [all …]
|
D | HTMLStackItem.h | 79 …bool hasTagName(const QualifiedName& name) const { return m_tokenLocalName == name.localName() && … in hasTagName() function 86 return hasTagName(HTMLNames::tableTag) in causesFosterParenting() 87 || hasTagName(HTMLNames::tbodyTag) in causesFosterParenting() 88 || hasTagName(HTMLNames::tfootTag) in causesFosterParenting() 89 || hasTagName(HTMLNames::theadTag) in causesFosterParenting() 90 || hasTagName(HTMLNames::trTag); in causesFosterParenting() 103 return hasTagName(HTMLNames::h1Tag) in isNumberedHeaderElement() 104 || hasTagName(HTMLNames::h2Tag) in isNumberedHeaderElement() 105 || hasTagName(HTMLNames::h3Tag) in isNumberedHeaderElement() 106 || hasTagName(HTMLNames::h4Tag) in isNumberedHeaderElement() [all …]
|
D | HTMLTreeBuilder.cpp | 478 return item->hasTagName(liTag); in isLi() 483 return item->hasTagName(ddTag) in isDdOrDt() 484 || item->hasTagName(dtTag); in isDdOrDt() 501 …if (item->isSpecialNode() && !item->hasTagName(addressTag) && !item->hasTagName(divTag) && !item->… in processCloseWhenNestedTag() 862 if (m_tree.currentStackItem()->hasTagName(optionTag)) { in processStartTagForInBody() 873 if (!m_tree.currentStackItem()->hasTagName(rubyTag)) in processStartTagForInBody() 882 …if (!m_tree.currentStackItem()->hasTagName(rubyTag) && !m_tree.currentStackItem()->hasTagName(rtcT… in processStartTagForInBody() 936 if (!m_tree.currentStackItem()->hasTagName(templateTag)) in processTemplateEndTag() 1346 if (m_tree.currentStackItem()->hasTagName(optionTag)) { in processStartTag() 1354 if (m_tree.currentStackItem()->hasTagName(optionTag)) { in processStartTag() [all …]
|
D | HTMLConstructionSite.cpp | 70 return item->hasTagName(ddTag) in hasImpliedEndTag() 71 || item->hasTagName(dtTag) in hasImpliedEndTag() 72 || item->hasTagName(liTag) in hasImpliedEndTag() 73 || item->hasTagName(optionTag) in hasImpliedEndTag() 74 || item->hasTagName(optgroupTag) in hasImpliedEndTag() 75 || item->hasTagName(pTag) in hasImpliedEndTag() 76 || item->hasTagName(rbTag) in hasImpliedEndTag() 77 || item->hasTagName(rpTag) in hasImpliedEndTag() 78 || item->hasTagName(rtTag) in hasImpliedEndTag() 79 || item->hasTagName(rtcTag); in hasImpliedEndTag() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLCollection.cpp | 209 return element.hasTagName(imgTag); in isMatchingHTMLElement() 211 return element.hasTagName(scriptTag); in isMatchingHTMLElement() 213 return element.hasTagName(formTag); in isMatchingHTMLElement() 217 return element.hasTagName(tbodyTag); in isMatchingHTMLElement() 219 return element.hasTagName(tdTag) || element.hasTagName(thTag); in isMatchingHTMLElement() 221 return element.hasTagName(trTag); in isMatchingHTMLElement() 229 return element.hasTagName(areaTag); in isMatchingHTMLElement() 231 …return element.hasTagName(appletTag) || (isHTMLObjectElement(element) && toHTMLObjectElement(eleme… in isMatchingHTMLElement() 233 return element.hasTagName(embedTag); in isMatchingHTMLElement() 235 …return (element.hasTagName(aTag) || element.hasTagName(areaTag)) && element.fastHasAttribute(hrefA… in isMatchingHTMLElement() [all …]
|
D | HTMLElement.cpp | 94 if (hasTagName(areaTag) in ieForbidsInsertHTML() 95 || hasTagName(baseTag) in ieForbidsInsertHTML() 96 || hasTagName(basefontTag) in ieForbidsInsertHTML() 97 || hasTagName(brTag) in ieForbidsInsertHTML() 98 || hasTagName(colTag) in ieForbidsInsertHTML() 99 || hasTagName(embedTag) in ieForbidsInsertHTML() 100 || hasTagName(frameTag) in ieForbidsInsertHTML() 101 || hasTagName(hrTag) in ieForbidsInsertHTML() 102 || hasTagName(imageTag) in ieForbidsInsertHTML() 103 || hasTagName(imgTag) in ieForbidsInsertHTML() [all …]
|
D | HTMLTableSectionElement.h | 55 …return element.hasTagName(HTMLNames::tbodyTag) || element.hasTagName(HTMLNames::tfootTag) || eleme… in isHTMLTableSectionElement()
|
D | HTMLTableRowsCollection.cpp | 45 return toHTMLElement(row.parentNode())->hasTagName(sectionTag); in isInSection() 64 if (child->hasTagName(theadTag)) { in rowAfter() 80 if (child->hasTagName(tbodyTag)) { in rowAfter() 92 if (child->hasTagName(tfootTag)) { in rowAfter() 111 if (child->hasTagName(tbodyTag)) { in lastRow()
|
D | HTMLQuoteElement.cpp | 36 ASSERT(hasTagName(qTag) || hasTagName(blockquoteTag)); in HTMLQuoteElement()
|
D | HTMLQuoteElement.h | 47 return element.hasTagName(HTMLNames::qTag) || element.hasTagName(HTMLNames::blockquoteTag); in isHTMLQuoteElement()
|
D | HTMLElement.h | 47 bool hasTagName(const HTMLQualifiedName& name) const { return hasLocalName(name.localName()); } in hasTagName() function 151 inline bool Node::hasTagName(const HTMLQualifiedName& name) const in hasTagName() function 153 return isHTMLElement() && toHTMLElement(*this).hasTagName(name); in hasTagName() 160 bool operator() (const HTMLElement& element) const { return element.hasTagName(m_tagName); } in operator()
|
D | HTMLTableColElement.h | 56 return element.hasTagName(HTMLNames::colTag) || element.hasTagName(HTMLNames::colgroupTag); in isHTMLTableColElement()
|
D | HTMLTableCellElement.h | 69 return element.hasTagName(HTMLNames::tdTag) || element.hasTagName(HTMLNames::thTag); in isHTMLTableCellElement()
|
D | HTMLLabelElement.h | 95 … ASSERT_WITH_SECURITY_IMPLICATION(!labelElement || labelElement->hasTagName(HTMLNames::labelTag)); 103 ASSERT_WITH_SECURITY_IMPLICATION(labelElement.hasTagName(HTMLNames::labelTag));
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | InsertParagraphSeparatorCommand.cpp | 94 if (originalEnclosingBlock->hasTagName(h1Tag) || in applyStyleAfterInsertion() 95 originalEnclosingBlock->hasTagName(h2Tag) || in applyStyleAfterInsertion() 96 originalEnclosingBlock->hasTagName(h3Tag) || in applyStyleAfterInsertion() 97 originalEnclosingBlock->hasTagName(h4Tag) || in applyStyleAfterInsertion() 98 originalEnclosingBlock->hasTagName(h5Tag)) in applyStyleAfterInsertion() 118 return enclosingBlock->hasTagName(h1Tag) || in shouldUseDefaultParagraphElement() 119 enclosingBlock->hasTagName(h2Tag) || in shouldUseDefaultParagraphElement() 120 enclosingBlock->hasTagName(h3Tag) || in shouldUseDefaultParagraphElement() 121 enclosingBlock->hasTagName(h4Tag) || in shouldUseDefaultParagraphElement() 122 enclosingBlock->hasTagName(h5Tag); in shouldUseDefaultParagraphElement()
|
D | TextIterator.cpp | 888 return (node.hasTagName(blockquoteTag) in shouldEmitNewlinesBeforeAndAfterNode() 889 || node.hasTagName(ddTag) in shouldEmitNewlinesBeforeAndAfterNode() 890 || node.hasTagName(divTag) in shouldEmitNewlinesBeforeAndAfterNode() 891 || node.hasTagName(dlTag) in shouldEmitNewlinesBeforeAndAfterNode() 892 || node.hasTagName(dtTag) in shouldEmitNewlinesBeforeAndAfterNode() 893 || node.hasTagName(h1Tag) in shouldEmitNewlinesBeforeAndAfterNode() 894 || node.hasTagName(h2Tag) in shouldEmitNewlinesBeforeAndAfterNode() 895 || node.hasTagName(h3Tag) in shouldEmitNewlinesBeforeAndAfterNode() 896 || node.hasTagName(h4Tag) in shouldEmitNewlinesBeforeAndAfterNode() 897 || node.hasTagName(h5Tag) in shouldEmitNewlinesBeforeAndAfterNode() [all …]
|
D | htmlediting.cpp | 582 if (ancestor->hasTagName(tagName)) in enclosingElementWithTag() 747 … return firstList->hasTagName(secondList->tagQName()) // make sure the list types match (ol vs. ul) in canMergeLists() 1027 return element.hasTagName(blockquoteTag) && element.getAttribute("type") == "cite"; in isMailHTMLBlockquoteElement() 1178 if (!firstElement->hasTagName(secondElement->tagQName())) in areIdenticalElements() 1190 return element.hasTagName(listingTag) in isNonTableCellHTMLBlockElement() 1191 || element.hasTagName(olTag) in isNonTableCellHTMLBlockElement() 1192 || element.hasTagName(preTag) in isNonTableCellHTMLBlockElement() 1193 || element.hasTagName(tableTag) in isNonTableCellHTMLBlockElement() 1194 || element.hasTagName(ulTag) in isNonTableCellHTMLBlockElement() 1195 || element.hasTagName(xmpTag) in isNonTableCellHTMLBlockElement() [all …]
|
D | markup.cpp | 457 if (commonAncestorBlock->hasTagName(tbodyTag) || isHTMLTableRowElement(*commonAncestorBlock)) in ancestorToRetainStructureAndAppearanceForBlock() 513 return element.hasTagName(uTag) || element.hasTagName(sTag) || element.hasTagName(strikeTag) in isPresentationalHTMLElement() 514 …|| element.hasTagName(iTag) || element.hasTagName(emTag) || element.hasTagName(bTag) || element.ha… in isPresentationalHTMLElement() 975 …if (htmlElement.hasTagName(colTag) || htmlElement.hasTagName(colgroupTag) || htmlElement.hasTagNam… in isSupportedContainer() 976 …|| htmlElement.hasTagName(headTag) || htmlElement.hasTagName(styleTag) || htmlElement.hasTagName(t… in isSupportedContainer()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGAnimateElement.h | 79 return element.hasTagName(SVGNames::animateTag) in isSVGAnimateElement() 80 || element.hasTagName(SVGNames::animateTransformTag) in isSVGAnimateElement() 81 || element.hasTagName(SVGNames::setTag); in isSVGAnimateElement()
|
D | SVGFELightElement.h | 88 …return element.hasTagName(SVGNames::feDistantLightTag) || element.hasTagName(SVGNames::fePointLigh… in isSVGFELightElement()
|
D | SVGPolyElement.h | 52 return element.hasTagName(SVGNames::polygonTag) || element.hasTagName(SVGNames::polylineTag); in isSVGPolyElement()
|
D | SVGGradientElement.h | 79 …return element.hasTagName(SVGNames::radialGradientTag) || element.hasTagName(SVGNames::linearGradi… in isSVGGradientElement()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | SiblingTraversalStrategies.h | 54 bool operator() (const Element& element) const { return element.hasTagName(m_tagName); } in operator() 166 if (m_siblings[i]->isElementNode() && toElement(m_siblings[i])->hasTagName(type)) in isFirstOfType() 178 if (m_siblings[i]->isElementNode() && toElement(m_siblings[i])->hasTagName(type)) in isLastOfType() 217 if (m_siblings[i]->isElementNode() && toElement(m_siblings[i])->hasTagName(type)) in countElementsOfTypeBefore() 230 if (m_siblings[i]->isElementNode() && toElement(m_siblings[i])->hasTagName(type)) in countElementsOfTypeAfter()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/ |
D | SVGSMILElement.h | 280 …return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames::animateTag) || element… in isSVGSMILElement() 281 …|| element.hasTagName(SVGNames::animateTransformTag) || element.hasTagName((SVGNames::discardTag)); in isSVGSMILElement()
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
D | AXRenderObject.cpp | 340 if (node && node->hasTagName(ddTag)) in determineAccessibilityRole() 343 if (node && node->hasTagName(dtTag)) in determineAccessibilityRole() 346 if (node && (node->hasTagName(rpTag) || node->hasTagName(rtTag))) in determineAccessibilityRole() 368 if (node && node->hasTagName(articleTag)) in determineAccessibilityRole() 371 if (node && node->hasTagName(mainTag)) in determineAccessibilityRole() 374 if (node && node->hasTagName(navTag)) in determineAccessibilityRole() 377 if (node && node->hasTagName(asideTag)) in determineAccessibilityRole() 380 if (node && node->hasTagName(sectionTag)) in determineAccessibilityRole() 383 if (node && node->hasTagName(addressTag)) in determineAccessibilityRole() 386 if (node && node->hasTagName(dialogTag)) in determineAccessibilityRole() [all …]
|