1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 20:24:57 +00:00

LibWeb: Remove DOM element deprecated_get_attribute()

This commit is contained in:
Bastiaan van der Plaat 2024-01-16 19:04:45 +01:00 committed by Andrew Kaster
parent c477f90df7
commit a681429dff
40 changed files with 114 additions and 122 deletions

View file

@ -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)) \