mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-18 13:44:50 +00:00
LibWeb: Remove DOM element deprecated_get_attribute()
This commit is contained in:
committed by
Andrew Kaster
parent
c477f90df7
commit
a681429dff
@@ -27,7 +27,7 @@ void HTMLButtonElement::initialize(JS::Realm& realm)
|
||||
|
||||
HTMLButtonElement::TypeAttributeState HTMLButtonElement::type_state() const
|
||||
{
|
||||
auto value = deprecated_attribute(HTML::AttributeNames::type);
|
||||
auto value = get_attribute_value(HTML::AttributeNames::type);
|
||||
|
||||
#define __ENUMERATE_HTML_BUTTON_TYPE_ATTRIBUTE(keyword, state) \
|
||||
if (value.equals_ignoring_ascii_case(#keyword##sv)) \
|
||||
|
||||
Reference in New Issue
Block a user