LibWeb: Add select and options collection remove method

This commit is contained in:
Bastiaan van der Plaat
2024-04-08 21:56:33 +02:00
committed by Andreas Kling
parent 5decf4b33c
commit 7372c01786
8 changed files with 62 additions and 3 deletions

View File

@@ -8,6 +8,6 @@ interface HTMLOptionsCollection : HTMLCollection {
[CEReactions] attribute unsigned long length; // shadows inherited length
// [CEReactions] setter undefined (unsigned long index, HTMLOptionElement? option);
[CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
// [CEReactions] undefined remove(long index);
[CEReactions] undefined remove(long index);
attribute long selectedIndex;
};