mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
13 lines
616 B
Text
13 lines
616 B
Text
#import <DOM/HTMLCollection.idl>
|
|
#import <HTML/HTMLOptionElement.idl>
|
|
#import <HTML/HTMLOptGroupElement.idl>
|
|
|
|
// https://html.spec.whatwg.org/#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;
|
|
};
|