2019-09-29 11:24:57 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <LibHTML/DOM/HTMLElement.h>
|
|
|
|
|
|
|
|
|
|
class HTMLTitleElement : public HTMLElement {
|
|
|
|
|
public:
|
|
|
|
|
HTMLTitleElement(Document&, const String& tag_name);
|
|
|
|
|
virtual ~HTMLTitleElement() override;
|
|
|
|
|
};
|
2019-10-06 15:47:57 -03:00
|
|
|
|
|
|
|
|
template<>
|
|
|
|
|
inline bool is<HTMLTitleElement>(const Node& node)
|
|
|
|
|
{
|
|
|
|
|
return is<Element>(node) && to<Element>(node).tag_name().to_lowercase() == "title";
|
|
|
|
|
}
|