LibWeb: Add HTMLOptionsCollection selected index property

This commit is contained in:
Bastiaan van der Plaat 2024-04-08 21:53:22 +02:00 committed by Andreas Kling
commit 5decf4b33c
Notes: sideshowbarker 2024-07-16 19:42:24 +09:00
5 changed files with 29 additions and 1 deletions

View file

@ -9,5 +9,5 @@ interface HTMLOptionsCollection : HTMLCollection {
// [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);
// attribute long selectedIndex;
attribute long selectedIndex;
};