mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibWeb: Use the cached HTMLInputElement type within associated getters
This commit is contained in:
committed by
Andreas Kling
parent
95b084a08f
commit
1a99cc4a14
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user