Lines Matching refs:hasTagName
45 return node->hasTagName(h1Tag)
46 || node->hasTagName(h2Tag)
47 || node->hasTagName(h3Tag)
48 || node->hasTagName(h4Tag)
49 || node->hasTagName(h5Tag)
50 || node->hasTagName(h6Tag);
56 || node->hasTagName(htmlTag);
61 return node->hasTagName(appletTag)
62 || node->hasTagName(captionTag)
63 || node->hasTagName(marqueeTag)
64 || node->hasTagName(objectTag)
65 || node->hasTagName(tableTag)
66 || node->hasTagName(tdTag)
67 || node->hasTagName(thTag)
68 || node->hasTagName(MathMLNames::miTag)
69 || node->hasTagName(MathMLNames::moTag)
70 || node->hasTagName(MathMLNames::mnTag)
71 || node->hasTagName(MathMLNames::msTag)
72 || node->hasTagName(MathMLNames::mtextTag)
73 || node->hasTagName(MathMLNames::annotation_xmlTag)
74 || node->hasTagName(SVGNames::foreignObjectTag)
75 || node->hasTagName(SVGNames::descTag)
76 || node->hasTagName(SVGNames::titleTag)
83 || node->hasTagName(olTag)
84 || node->hasTagName(ulTag);
89 return node->hasTagName(tableTag)
95 return node->hasTagName(tbodyTag)
96 || node->hasTagName(tfootTag)
97 || node->hasTagName(theadTag)
103 return node->hasTagName(trTag)
109 return node->hasTagName(MathMLNames::miTag)
110 || node->hasTagName(MathMLNames::moTag)
111 || node->hasTagName(MathMLNames::mnTag)
112 || node->hasTagName(MathMLNames::msTag)
113 || node->hasTagName(MathMLNames::mtextTag)
114 || node->hasTagName(SVGNames::foreignObjectTag)
115 || node->hasTagName(SVGNames::descTag)
116 || node->hasTagName(SVGNames::titleTag)
123 || node->hasTagName(buttonTag);
128 return !node->hasTagName(optgroupTag)
129 && !node->hasTagName(optionTag);
217 ASSERT(!top()->hasTagName(HTMLNames::headTag));
290 ASSERT(element->hasTagName(HTMLNames::htmlTag));
304 ASSERT(element->hasTagName(HTMLNames::headTag));
312 ASSERT(element->hasTagName(HTMLNames::bodyTag));
320 ASSERT(!element->hasTagName(HTMLNames::htmlTag));
321 ASSERT(!element->hasTagName(HTMLNames::headTag));
322 ASSERT(!element->hasTagName(HTMLNames::bodyTag));
332 ASSERT(!element->hasTagName(HTMLNames::htmlTag));
333 ASSERT(!element->hasTagName(HTMLNames::headTag));
334 ASSERT(!element->hasTagName(HTMLNames::bodyTag));
384 ASSERT(!element->hasTagName(HTMLNames::headTag));
561 ASSERT(!top()->hasTagName(HTMLNames::htmlTag));
562 ASSERT(!top()->hasTagName(HTMLNames::headTag) || !m_headElement);
563 ASSERT(!top()->hasTagName(HTMLNames::bodyTag) || !m_bodyElement);
570 ASSERT(!element->hasTagName(HTMLNames::htmlTag));
571 ASSERT(!element->hasTagName(HTMLNames::bodyTag));