mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
LibWeb: Move enabled() to FormAssociatedElement and follow the spec
This commit is contained in:
committed by
Andreas Kling
parent
99f52e52d2
commit
d2e18175ef
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user