Lines Matching refs:element
34 #include "Element.h"
80 bool elementHasLegalLinkAttribute(const Element* element,
85 if (element->hasTagName(HTMLNames::imgTag)
86 || element->hasTagName(HTMLNames::scriptTag)
87 || element->hasTagName(HTMLNames::iframeTag)
88 || element->hasTagName(HTMLNames::frameTag))
90 if (element->hasTagName(HTMLNames::inputTag)) {
92 static_cast<const HTMLInputElement*>(element);
98 if (element->hasTagName(HTMLNames::linkTag)
99 || element->hasTagName(HTMLNames::aTag)
100 || element->hasTagName(HTMLNames::areaTag))
103 if (element->hasTagName(HTMLNames::formTag))
106 if (element->hasTagName(HTMLNames::bodyTag)
107 || element->hasTagName(HTMLNames::tableTag)
108 || element->hasTagName(HTMLNames::trTag)
109 || element->hasTagName(HTMLNames::tdTag))
112 if (element->hasTagName(HTMLNames::blockquoteTag)
113 || element->hasTagName(HTMLNames::qTag)
114 || element->hasTagName(HTMLNames::delTag)
115 || element->hasTagName(HTMLNames::insTag))
119 if (element->hasTagName(HTMLNames::objectTag))
122 if (element->hasTagName(HTMLNames::objectTag)
123 || element->hasTagName(HTMLNames::appletTag))