mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09:00
LibWeb: Bring HTMLOptionElement closer to spec
This commit is contained in:
parent
ae519c6fef
commit
00099a8ade
Notes:
sideshowbarker
2024-07-17 11:53:31 +09:00
Author: https://github.com/Igoorx
Commit: 00099a8ade
Pull-request: https://github.com/SerenityOS/serenity/pull/13638
3 changed files with 111 additions and 1 deletions
|
@ -21,6 +21,14 @@ public:
|
|||
bool selected() const { return m_selected; }
|
||||
void set_selected(bool);
|
||||
|
||||
String value() const;
|
||||
void set_value(String);
|
||||
|
||||
String text() const;
|
||||
void set_text(String);
|
||||
|
||||
int index() const;
|
||||
|
||||
private:
|
||||
friend class Bindings::OptionConstructor;
|
||||
friend class HTMLSelectElement;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue