2022-02-15 22:40:51 +03:30
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#import <HTML/HTMLElement.idl>
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-08 11:04:56 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#import <HTML/HTMLFormElement.idl>
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-16 13:08:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#import <HTML/HTMLOptionsCollection.idl>
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-17 20:44:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#import <HTML/ValidityState.idl>
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-07 16:45:09 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								// https://html.spec.whatwg.org/multipage/form-elements.html#htmlselectelement
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-03 02:00:01 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								[Exposed=Window]
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-01 03:07:00 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								interface HTMLSelectElement : HTMLElement {
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-23 03:48:52 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [HTMLConstructor] constructor();
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-13 15:38:35 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [CEReactions, Enumerated=Autocomplete, Reflect] attribute DOMString autocomplete;
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [CEReactions, Reflect] attribute boolean disabled;
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    readonly attribute HTMLFormElement? form;
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [CEReactions, Reflect] attribute boolean multiple;
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [CEReactions, Reflect] attribute DOMString name;
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [CEReactions, Reflect] attribute boolean required;
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-08 21:34:19 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [CEReactions] attribute unsigned long size;
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-01 03:07:00 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-11-05 04:51:42 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    readonly attribute DOMString type;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [SameObject] readonly attribute HTMLOptionsCollection options;
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-08 21:50:35 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [CEReactions] attribute unsigned long length;
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-08 22:01:21 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    getter HTMLOptionElement? item(unsigned long index);
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    HTMLOptionElement? namedItem(DOMString name);
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 20:03:37 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-08 21:56:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [CEReactions] undefined remove(); // ChildNode overload
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    [CEReactions] undefined remove(long index);
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-19 22:15:54 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [FIXME, CEReactions] setter undefined (unsigned long index, HTMLOptionElement? option);
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 20:03:37 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-08 21:58:39 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [SameObject] readonly attribute HTMLCollection selectedOptions;
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-20 16:13:23 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    attribute long selectedIndex;
							 | 
						
					
						
							
								
									
										
										
										
											2023-12-07 15:53:49 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    attribute DOMString value;
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-25 17:43:11 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    readonly attribute boolean willValidate;
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-17 20:44:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    readonly attribute ValidityState validity;
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-19 22:15:54 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [FIXME] readonly attribute DOMString validationMessage;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    [FIXME] boolean checkValidity();
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    [FIXME] boolean reportValidity();
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-17 20:50:56 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    undefined setCustomValidity(DOMString error);
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-20 16:13:23 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-13 18:11:45 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    undefined showPicker();
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-18 14:10:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    readonly attribute NodeList labels;
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-09 21:26:42 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 |