mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-03 23:00:58 +00:00 
			
		
		
		
	This is almost guaranteed not to be all CEReactions we need to add, but this puts us in a much better situation.
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			835 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			835 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#import <HTML/HTMLElement.idl>
 | 
						|
#import <HTML/HTMLOptionsCollection.idl>
 | 
						|
 | 
						|
// https://html.spec.whatwg.org/multipage/form-elements.html#htmlselectelement
 | 
						|
[Exposed=Window]
 | 
						|
interface HTMLSelectElement : HTMLElement {
 | 
						|
 | 
						|
    [HTMLConstructor] constructor();
 | 
						|
 | 
						|
    [CEReactions, Reflect] attribute boolean disabled;
 | 
						|
    [CEReactions, Reflect] attribute boolean multiple;
 | 
						|
    [CEReactions, Reflect] attribute boolean required;
 | 
						|
    [SameObject] readonly attribute HTMLOptionsCollection options;
 | 
						|
 | 
						|
    readonly attribute DOMString type;
 | 
						|
 | 
						|
    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;
 | 
						|
 | 
						|
};
 |