mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibWeb: Implement HTMLSelectElement length, item() and namedItem()
These are simple calls through to the HTMLOptionsCollection functions the same names, as with HTMLSelectElement.add().
This commit is contained in:
@@ -10,6 +10,9 @@ interface HTMLSelectElement : HTMLElement {
|
||||
[Reflect] attribute boolean required;
|
||||
[SameObject] readonly attribute HTMLOptionsCollection options;
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
getter Element? item(unsigned long index);
|
||||
getter Element? namedItem(DOMString name);
|
||||
[CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
|
||||
|
||||
attribute long selectedIndex;
|
||||
|
||||
Reference in New Issue
Block a user