mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:22:43 +00:00 
			
		
		
		
	 7cc6ffe5b7
			
		
	
	
		7cc6ffe5b7
		
	
	
	
	
		
			
			This patch sets up the necessary infrastructure for implementing reset algorithms for form-associated controls.
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			623 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			623 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/HTMLCollection.idl>
 | |
| #import <HTML/HTMLElement.idl>
 | |
| 
 | |
| // https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
 | |
| [Exposed=Window]
 | |
| interface HTMLFormElement : HTMLElement {
 | |
| 
 | |
|     [Reflect] attribute DOMString name;
 | |
|     [Reflect] attribute DOMString rel;
 | |
|     [Reflect=accept-charset] attribute DOMString acceptCharset;
 | |
|     [Reflect=novalidate] attribute boolean noValidate;
 | |
| 
 | |
|     undefined submit();
 | |
|     [CEReactions] undefined reset();
 | |
| 
 | |
|     // FIXME: Should be a HTMLFormControlsCollection
 | |
|     [SameObject] readonly attribute HTMLCollection elements;
 | |
| 
 | |
|     readonly attribute unsigned long length;
 | |
| 
 | |
| };
 |