mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-05 02:38:57 +00:00
LibWeb: Ensure selected options collection is created prior to access
This commit is contained in:
@@ -43,6 +43,7 @@ public:
|
||||
void remove(WebIDL::Long);
|
||||
|
||||
GC::Ref<DOM::HTMLCollection> selected_options();
|
||||
GC::Ref<DOM::HTMLCollection> selected_options() const { return const_cast<HTMLSelectElement*>(this)->selected_options(); }
|
||||
|
||||
WebIDL::Long selected_index() const;
|
||||
void set_selected_index(WebIDL::Long);
|
||||
|
||||
Reference in New Issue
Block a user