Home
last modified time | relevance | path

Searched refs:hasTagName (Results 1 – 25 of 52) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLElementStack.cpp46 || 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 …]
DHTMLStackItem.h79 …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 …]
DHTMLTreeBuilder.cpp478 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 …]
DHTMLConstructionSite.cpp70 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/
DHTMLCollection.cpp209 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 …]
DHTMLElement.cpp94 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 …]
DHTMLTableSectionElement.h55 …return element.hasTagName(HTMLNames::tbodyTag) || element.hasTagName(HTMLNames::tfootTag) || eleme… in isHTMLTableSectionElement()
DHTMLTableRowsCollection.cpp45 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()
DHTMLQuoteElement.cpp36 ASSERT(hasTagName(qTag) || hasTagName(blockquoteTag)); in HTMLQuoteElement()
DHTMLQuoteElement.h47 return element.hasTagName(HTMLNames::qTag) || element.hasTagName(HTMLNames::blockquoteTag); in isHTMLQuoteElement()
DHTMLElement.h47 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()
DHTMLTableColElement.h56 return element.hasTagName(HTMLNames::colTag) || element.hasTagName(HTMLNames::colgroupTag); in isHTMLTableColElement()
DHTMLTableCellElement.h69 return element.hasTagName(HTMLNames::tdTag) || element.hasTagName(HTMLNames::thTag); in isHTMLTableCellElement()
DHTMLLabelElement.h95 … 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/
DInsertParagraphSeparatorCommand.cpp94 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()
DTextIterator.cpp888 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 …]
Dhtmlediting.cpp582 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 …]
Dmarkup.cpp457 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/
DSVGAnimateElement.h79 return element.hasTagName(SVGNames::animateTag) in isSVGAnimateElement()
80 || element.hasTagName(SVGNames::animateTransformTag) in isSVGAnimateElement()
81 || element.hasTagName(SVGNames::setTag); in isSVGAnimateElement()
DSVGFELightElement.h88 …return element.hasTagName(SVGNames::feDistantLightTag) || element.hasTagName(SVGNames::fePointLigh… in isSVGFELightElement()
DSVGPolyElement.h52 return element.hasTagName(SVGNames::polygonTag) || element.hasTagName(SVGNames::polylineTag); in isSVGPolyElement()
DSVGGradientElement.h79 …return element.hasTagName(SVGNames::radialGradientTag) || element.hasTagName(SVGNames::linearGradi… in isSVGGradientElement()
/external/chromium_org/third_party/WebKit/Source/core/css/
DSiblingTraversalStrategies.h54 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/
DSVGSMILElement.h280 …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/
DAXRenderObject.cpp340 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 …]

123