Lines Matching defs:HTMLElement
42 class HTMLElement : public Element {
45 DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLElement);
104 HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);
140 DEFINE_ELEMENT_TYPE_CASTS(HTMLElement, isHTMLElement());
142 template <typename T> bool isElementOfType(const HTMLElement&);
143 template <> inline bool isElementOfType<const HTMLElement>(const HTMLElement&) { return true; }
145 inline HTMLElement::HTMLElement(const QualifiedName& tagName, Document& document, ConstructionType type = CreateHTMLElement)
160 bool operator() (const HTMLElement& element) const { return element.hasTagName(m_tagName); }
165 // This requires isHTML*Element(const Element&) and isHTML*Element(const HTMLElement&).
166 // When the input element is an HTMLElement, we don't need to check the namespace URI, just the local name.
170 inline bool is##thisType(const HTMLElement* element) { return element && is##thisType(*element); } \
176 template <> inline bool isElementOfType<const thisType>(const HTMLElement& element) { return is##thisType(element); } \