#pragma once
#include
class HTMLInputElement : public HTMLElement {
public:
HTMLInputElement(Document&, const String& tag_name);
virtual ~HTMLInputElement() override;
virtual RefPtr create_layout_node(const StyleProperties* parent_style) const override;
String type() const { return attribute("type"); }
String value() const { return attribute("value"); }
String name() const { return attribute("name"); }
};
template<>
inline bool is(const Node& node)
{
return is(node) && to(node).tag_name().to_lowercase() == "input";
}