mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 22:12:44 +00:00 
			
		
		
		
	 fa17776a51
			
		
	
	
		fa17776a51
		
	
	
	
	
		
			
			Note that we implement .elements as a HTMLCollection for now, instead of the correct HTMLFormControlsCollection subclass. This covers most use-cases already. 1% progression on ACID3. :^)
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			500 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			500 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/HTMLCollection.idl>
 | |
| #import <HTML/HTMLElement.idl>
 | |
| 
 | |
| interface HTMLFormElement : HTMLElement {
 | |
| 
 | |
|     [Reflect] attribute DOMString name;
 | |
|     [Reflect] attribute DOMString rel;
 | |
|     [Reflect=accept-charset] attribute DOMString acceptCharset;
 | |
|     [Reflect=novalidate] attribute boolean noValidate;
 | |
| 
 | |
|     undefined submit();
 | |
| 
 | |
|     // FIXME: Should be [SameObject] and a HTMLFormControlsCollection
 | |
|     readonly attribute HTMLCollection elements;
 | |
| 
 | |
|     readonly attribute unsigned long length;
 | |
| 
 | |
| };
 |