| 
									
										
										
										
											2023-08-19 13:58:54 +12:00
										 |  |  | #import <DOM/HTMLFormControlsCollection.idl> | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <HTML/HTMLElement.idl> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-08-13 15:38:35 +02:00
										 |  |  | // https://html.spec.whatwg.org/multipage/forms.html#attr-form-autocomplete | 
					
						
							|  |  |  | [MissingValueDefault=on, InvalidValueDefault=on] | 
					
						
							|  |  |  | enum Autocomplete { | 
					
						
							|  |  |  |     "on", | 
					
						
							|  |  |  |     "off" | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-26 10:49:03 +12:00
										 |  |  | // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-enctype | 
					
						
							|  |  |  | [MissingValueDefault=application/x-www-form-urlencoded, InvalidValueDefault=application/x-www-form-urlencoded] | 
					
						
							|  |  |  | enum EnctypeAttribute { | 
					
						
							|  |  |  |     "application/x-www-form-urlencoded", | 
					
						
							|  |  |  |     "multipart/form-data", | 
					
						
							|  |  |  |     "text/plain" | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-08-30 17:22:58 +01:00
										 |  |  | // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#selectionmode | 
					
						
							|  |  |  | enum SelectionMode { | 
					
						
							|  |  |  |     "select", | 
					
						
							|  |  |  |     "start", | 
					
						
							|  |  |  |     "end", | 
					
						
							|  |  |  |     "preserve" | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-07 16:45:09 -06:00
										 |  |  | // https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement | 
					
						
							| 
									
										
										
										
											2024-01-10 10:45:28 -07:00
										 |  |  | [Exposed=Window, LegacyOverrideBuiltIns, LegacyUnenumerableNamedProperties] | 
					
						
							| 
									
										
										
										
											2020-07-27 05:04:26 +01:00
										 |  |  | interface HTMLFormElement : HTMLElement { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-23 03:48:52 -04:00
										 |  |  |     [HTMLConstructor] constructor(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, Reflect=accept-charset] attribute DOMString acceptCharset; | 
					
						
							| 
									
										
										
										
											2023-06-18 16:30:43 +01:00
										 |  |  |     [CEReactions] attribute USVString action; | 
					
						
							| 
									
										
										
										
											2024-08-13 15:38:35 +02:00
										 |  |  |     [CEReactions, Enumerated=Autocomplete, Reflect] attribute DOMString autocomplete; | 
					
						
							| 
									
										
										
										
											2024-05-26 10:49:03 +12:00
										 |  |  |     [CEReactions, Enumerated=EnctypeAttribute, Reflect] attribute DOMString enctype; | 
					
						
							| 
									
										
										
										
											2024-05-26 10:53:19 +12:00
										 |  |  |     [CEReactions, Enumerated=EnctypeAttribute, Reflect=enctype] attribute DOMString encoding; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     [CEReactions] attribute DOMString method; | 
					
						
							|  |  |  |     [CEReactions, Reflect] attribute DOMString name; | 
					
						
							|  |  |  |     [CEReactions, Reflect=novalidate] attribute boolean noValidate; | 
					
						
							| 
									
										
										
										
											2023-06-18 16:30:43 +01:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString target; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString rel; | 
					
						
							| 
									
										
										
										
											2024-05-16 06:02:56 +01:00
										 |  |  |     [SameObject, PutForwards=value] readonly attribute DOMTokenList relList; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     [SameObject] readonly attribute HTMLFormControlsCollection elements; | 
					
						
							|  |  |  |     readonly attribute unsigned long length; | 
					
						
							| 
									
										
										
										
											2024-01-10 10:45:28 -07:00
										 |  |  |     getter Element (unsigned long index); | 
					
						
							|  |  |  |     getter (RadioNodeList or Element) (DOMString name); | 
					
						
							| 
									
										
										
										
											2020-07-27 05:04:26 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-09 21:32:04 +00:00
										 |  |  |     undefined submit(); | 
					
						
							| 
									
										
										
										
											2024-02-15 18:29:53 +00:00
										 |  |  |     undefined requestSubmit(optional HTMLElement? submitter = null); | 
					
						
							| 
									
										
										
										
											2022-12-22 19:32:20 -05:00
										 |  |  |     [CEReactions] undefined reset(); | 
					
						
							| 
									
										
										
										
											2023-03-04 23:58:25 +01:00
										 |  |  |     boolean checkValidity(); | 
					
						
							|  |  |  |     boolean reportValidity(); | 
					
						
							| 
									
										
										
										
											2020-11-21 21:53:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-09 21:26:42 +00:00
										 |  |  | }; |