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
commit 7372c01786
Notes: sideshowbarker 2024-07-17 14:36:19 +09:00
8 changed files with 62 additions and 3 deletions

View file

@ -24,8 +24,8 @@ interface HTMLSelectElement : HTMLElement {
// FIXME: Element is really HTMLOptionElement
Element? namedItem(DOMString name);
[CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
// FIXME: [CEReactions] undefined remove(); // ChildNode overload
// FIXME: [CEReactions] undefined remove(long index);
[CEReactions] undefined remove(); // ChildNode overload
[CEReactions] undefined remove(long index);
// FIXME: [CEReactions] setter undefined (unsigned long index, HTMLOptionElement? option);
// FIXME: [SameObject] readonly attribute HTMLCollection selectedOptions;