mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
LibWeb: Port HTMLOptionElement interface from DeprecatedString to String
This commit is contained in:
parent
c405ba6b08
commit
7206f1777a
Notes:
sideshowbarker
2024-07-17 01:04:03 +09:00
Author: https://github.com/shannonbooth
Commit: 7206f1777a
Pull-request: https://github.com/SerenityOS/serenity/pull/20926
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/trflynn89 ✅
4 changed files with 13 additions and 16 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue