1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 21:48:11 +00:00

LibWeb: Port HTMLButtonElement interface from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-09-03 15:29:34 +12:00 committed by Tim Flynn
parent 2ab7129595
commit 57d8b0ec73
3 changed files with 7 additions and 7 deletions

View file

@ -34,9 +34,9 @@ public:
#undef __ENUMERATE_HTML_BUTTON_TYPE_ATTRIBUTE
};
DeprecatedString type() const;
StringView type() const;
TypeAttributeState type_state() const;
WebIDL::ExceptionOr<void> set_type(DeprecatedString const&);
WebIDL::ExceptionOr<void> set_type(String const&);
// ^EventTarget
// https://html.spec.whatwg.org/multipage/interaction.html#the-tabindex-attribute:the-button-element