Serenity Operating System
at master 15 lines 598 B view raw
1#import <HTML/HTMLElement.idl> 2 3// https://html.spec.whatwg.org/multipage/form-elements.html#htmloptionelement 4[Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)] 5interface HTMLOptionElement : HTMLElement { 6 7 [Reflect] attribute boolean disabled; 8 [Reflect=selected] attribute boolean defaultSelected; 9 attribute boolean selected; 10 [CEReactions] attribute DOMString value; 11 12 [CEReactions] attribute DOMString text; 13 readonly attribute long index; 14 15};