mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
14 lines
652 B
Plaintext
14 lines
652 B
Plaintext
#import <DOM/HTMLCollection.idl>
|
|
#import <HTML/HTMLOptionElement.idl>
|
|
#import <HTML/HTMLOptGroupElement.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmloptionscollection
|
|
[Exposed=Window]
|
|
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);
|
|
attribute long selectedIndex;
|
|
};
|