| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <HTML/HTMLElement.idl> | 
					
						
							|  |  |  | #import <HTML/HTMLFormElement.idl> | 
					
						
							| 
									
										
										
										
											2024-06-09 15:13:38 +12:00
										 |  |  | #import <HTML/ValidityState.idl> | 
					
						
							| 
									
										
										
										
											2022-10-03 23:39:53 -06:00
										 |  |  | #import <FileAPI/FileList.idl> | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-07 16:45:09 -06:00
										 |  |  | // https://html.spec.whatwg.org/multipage/input.html#htmlinputelement | 
					
						
							| 
									
										
										
										
											2023-09-03 16:27:10 +12:00
										 |  |  | [Exposed=Window] | 
					
						
							| 
									
										
										
										
											2020-07-27 05:04:26 +01:00
										 |  |  | interface HTMLInputElement : HTMLElement { | 
					
						
							| 
									
										
										
										
											2023-03-23 03:48:52 -04:00
										 |  |  |     [HTMLConstructor] constructor(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString accept; | 
					
						
							|  |  |  |     [CEReactions, Reflect] attribute DOMString alt; | 
					
						
							| 
									
										
										
										
											2024-08-13 15:38:35 +02:00
										 |  |  |     [CEReactions, Enumerated=Autocomplete, Reflect] attribute DOMString autocomplete; | 
					
						
							| 
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 |  |  |     [CEReactions, Reflect=checked] attribute boolean defaultChecked; | 
					
						
							|  |  |  |     [ImplementedAs=checked_binding] attribute boolean checked; | 
					
						
							|  |  |  |     [CEReactions, Reflect=dirname] attribute DOMString dirName; | 
					
						
							|  |  |  |     [CEReactions, Reflect] attribute boolean disabled; | 
					
						
							|  |  |  |     readonly attribute HTMLFormElement? form; | 
					
						
							|  |  |  |     attribute FileList? files; | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME, CEReactions] attribute USVString formAction; | 
					
						
							|  |  |  |     [FIXME, CEReactions] attribute DOMString formEnctype; | 
					
						
							|  |  |  |     [FIXME, CEReactions] attribute DOMString formMethod; | 
					
						
							| 
									
										
										
										
											2023-10-04 22:40:31 +02:00
										 |  |  |     [CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate; | 
					
						
							| 
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 |  |  |     [CEReactions, Reflect=formtarget] attribute DOMString formTarget; | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME, CEReactions] attribute unsigned long height; | 
					
						
							| 
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 |  |  |     attribute boolean indeterminate; | 
					
						
							| 
									
										
										
										
											2024-05-19 22:15:54 +12:00
										 |  |  |     [FIXME] readonly attribute HTMLDataListElement? list; | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString max; | 
					
						
							| 
									
										
										
										
											2024-03-01 08:49:04 +01:00
										 |  |  |     [CEReactions] attribute long maxLength; | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString min; | 
					
						
							| 
									
										
										
										
											2024-03-01 08:49:04 +01:00
										 |  |  |     [CEReactions] attribute long minLength; | 
					
						
							| 
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 |  |  |     [CEReactions, Reflect] attribute boolean multiple; | 
					
						
							|  |  |  |     [CEReactions, Reflect] attribute DOMString name; | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME, CEReactions] attribute DOMString pattern; | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString placeholder; | 
					
						
							| 
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 |  |  |     [CEReactions, Reflect=readonly] attribute boolean readOnly; | 
					
						
							|  |  |  |     [CEReactions, Reflect] attribute boolean required; | 
					
						
							| 
									
										
										
										
											2023-11-24 17:37:53 +01:00
										 |  |  |     [CEReactions] attribute unsigned long size; | 
					
						
							| 
									
										
										
										
											2024-08-08 10:35:57 +01:00
										 |  |  |     [CEReactions, Reflect] attribute USVString src; | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString step; | 
					
						
							|  |  |  |     [CEReactions] attribute DOMString type; | 
					
						
							| 
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 |  |  |     [CEReactions, Reflect=value] attribute DOMString defaultValue; | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, LegacyNullToEmptyString] attribute DOMString value; | 
					
						
							| 
									
										
										
										
											2023-12-15 18:23:29 +01:00
										 |  |  |     attribute object? valueAsDate; | 
					
						
							| 
									
										
										
										
											2023-10-04 22:40:31 +02:00
										 |  |  |     attribute unrestricted double valueAsNumber; | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME, CEReactions] attribute unsigned long width; | 
					
						
							| 
									
										
										
										
											2021-02-10 18:26:07 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-07 19:35:45 +01:00
										 |  |  |     undefined stepUp(optional long n = 1); | 
					
						
							|  |  |  |     undefined stepDown(optional long n = 1); | 
					
						
							| 
									
										
										
										
											2020-11-12 04:16:41 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-19 22:15:54 +12:00
										 |  |  |     [FIXME] readonly attribute boolean willValidate; | 
					
						
							| 
									
										
										
										
											2024-06-09 15:13:38 +12:00
										 |  |  |     readonly attribute ValidityState validity; | 
					
						
							| 
									
										
										
										
											2024-05-19 22:15:54 +12:00
										 |  |  |     [FIXME] readonly attribute DOMString validationMessage; | 
					
						
							| 
									
										
										
										
											2023-03-04 23:58:25 +01:00
										 |  |  |     boolean checkValidity(); | 
					
						
							|  |  |  |     boolean reportValidity(); | 
					
						
							|  |  |  |     undefined setCustomValidity(DOMString error); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-18 14:10:00 +01:00
										 |  |  |     readonly attribute NodeList? labels; | 
					
						
							| 
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-04 23:58:25 +01:00
										 |  |  |     undefined select(); | 
					
						
							| 
									
										
										
										
											2024-08-22 15:20:24 +02:00
										 |  |  |     attribute unsigned long? selectionStart; | 
					
						
							|  |  |  |     attribute unsigned long? selectionEnd; | 
					
						
							|  |  |  |     attribute DOMString? selectionDirection; | 
					
						
							| 
									
										
										
										
											2024-05-19 22:15:54 +12:00
										 |  |  |     [FIXME] undefined setRangeText(DOMString replacement); | 
					
						
							|  |  |  |     [FIXME] undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve"); | 
					
						
							| 
									
										
										
										
											2022-12-30 23:00:11 +00:00
										 |  |  |     undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-03 23:39:53 -06:00
										 |  |  |     undefined showPicker(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 |  |  |     // Obsolete | 
					
						
							|  |  |  |     [CEReactions, Reflect] attribute DOMString align; | 
					
						
							|  |  |  |     [CEReactions, Reflect=usemap] attribute DOMString useMap; | 
					
						
							| 
									
										
										
										
											2020-12-09 21:26:42 +00:00
										 |  |  | }; | 
					
						
							| 
									
										
										
										
											2023-10-04 17:55:33 +02:00
										 |  |  | // FIXME: HTMLInputElement includes PopoverInvokerElement; |