mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 12:05:00 +00:00
LibWeb: Use the cached HTMLInputElement type within associated getters
This commit is contained in:
parent
95b084a08f
commit
1a99cc4a14
2 changed files with 7 additions and 26 deletions
|
@ -53,7 +53,7 @@ public:
|
|||
};
|
||||
|
||||
String type() const;
|
||||
TypeAttributeState type_state() const;
|
||||
TypeAttributeState type_state() const { return m_type; }
|
||||
void set_type(String const&);
|
||||
|
||||
String default_value() const { return attribute(HTML::AttributeNames::value); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue