Serenity Operating System
1#import <DOM/HTMLCollection.idl>
2#import <HTML/HTMLOptionElement.idl>
3#import <HTML/HTMLOptGroupElement.idl>
4
5[Exposed=Window]
6interface HTMLOptionsCollection : HTMLCollection {
7 // [CEReactions] attribute unsigned long length; // shadows inherited length
8 // [CEReactions] setter undefined (unsigned long index, HTMLOptionElement? option);
9 [CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
10 // [CEReactions] undefined remove(long index);
11 // attribute long selectedIndex;
12};