diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLInputElement.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLInputElement.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.h b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.h index 7a5265ac05..2a96aceb66 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.h @@ -20,7 +20,9 @@ public: virtual RefPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override; - String type() const { return attribute(HTML::AttributeNames::type); } + String type() const; + void set_type(String const&); + String default_value() const { return attribute(HTML::AttributeNames::value); } String name() const { return attribute(HTML::AttributeNames::name); } |