mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
LibWeb: Move enabled() to FormAssociatedElement and follow the spec
This commit is contained in:
parent
99f52e52d2
commit
d2e18175ef
Notes:
sideshowbarker
2024-07-17 18:05:07 +09:00
Author: https://github.com/Lubrsi
Commit: d2e18175ef
Pull-request: https://github.com/SerenityOS/serenity/pull/12837
4 changed files with 29 additions and 7 deletions
|
@ -138,11 +138,6 @@ void HTMLInputElement::did_edit_text_node(Badge<BrowsingContext>)
|
|||
});
|
||||
}
|
||||
|
||||
bool HTMLInputElement::enabled() const
|
||||
{
|
||||
return !has_attribute(HTML::AttributeNames::disabled);
|
||||
}
|
||||
|
||||
String HTMLInputElement::value() const
|
||||
{
|
||||
if (m_text_node)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue