mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb: Port HTMLOptionElement interface from DeprecatedString to String
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 01:04:03 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/7206f1777a Pull-request: https://github.com/SerenityOS/serenity/pull/20926 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/trflynn89 ✅
@@ -20,11 +20,11 @@ public:
|
||||
bool selected() const { return m_selected; }
|
||||
void set_selected(bool);
|
||||
|
||||
DeprecatedString value() const;
|
||||
WebIDL::ExceptionOr<void> set_value(DeprecatedString);
|
||||
String value() const;
|
||||
WebIDL::ExceptionOr<void> set_value(String const&);
|
||||
|
||||
DeprecatedString text() const;
|
||||
void set_text(DeprecatedString);
|
||||
String text() const;
|
||||
void set_text(String const&);
|
||||
|
||||
int index() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user