mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 13:25:08 +00:00
LibWeb: Bring HTMLOptionElement closer to spec
This commit is contained in:
parent
ae519c6fef
commit
00099a8ade
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