1
Fork 0
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:
Igor Pissolati 2022-04-12 13:29:16 -03:00 committed by Andreas Kling
parent ae519c6fef
commit 00099a8ade
3 changed files with 111 additions and 1 deletions

View file

@ -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;