mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibWeb: Port HTMLButtonElement interface from DeprecatedString to String
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 01:53:23 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/57d8b0ec73 Pull-request: https://github.com/SerenityOS/serenity/pull/20926 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/trflynn89 ✅
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user