mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-18 08:11:53 +00:00
LibWeb: Use the cached HTMLInputElement type within associated getters
This commit is contained in:
parent
95b084a08f
commit
1a99cc4a14
Notes:
sideshowbarker
2024-07-17 17:20:07 +09:00
Author: https://github.com/trflynn89
Commit: 1a99cc4a14
Pull-request: https://github.com/SerenityOS/serenity/pull/13069
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