mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-03 23:00:58 +00:00 
			
		
		
		
	This is almost guaranteed not to be all CEReactions we need to add, but this puts us in a much better situation.
		
			
				
	
	
		
			53 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
#import <HTML/HTMLElement.idl>
 | 
						|
#import <HTML/HTMLFormElement.idl>
 | 
						|
#import <FileAPI/FileList.idl>
 | 
						|
 | 
						|
// https://html.spec.whatwg.org/multipage/input.html#htmlinputelement
 | 
						|
[Exposed=Window]
 | 
						|
interface HTMLInputElement : HTMLElement {
 | 
						|
 | 
						|
    [HTMLConstructor] constructor();
 | 
						|
 | 
						|
    readonly attribute HTMLFormElement? form;
 | 
						|
    attribute FileList? files;
 | 
						|
 | 
						|
    [CEReactions, Reflect] attribute DOMString accept;
 | 
						|
    [CEReactions, Reflect] attribute DOMString alt;
 | 
						|
    [CEReactions, Reflect] attribute DOMString max;
 | 
						|
    [CEReactions, Reflect] attribute DOMString min;
 | 
						|
    [CEReactions, Reflect] attribute DOMString pattern;
 | 
						|
    [CEReactions, Reflect] attribute DOMString placeholder;
 | 
						|
    [CEReactions, Reflect] attribute DOMString src;
 | 
						|
    [CEReactions, Reflect] attribute DOMString step;
 | 
						|
    [CEReactions, Reflect] attribute DOMString name;
 | 
						|
    [CEReactions, Reflect=dirname] attribute DOMString dirName;
 | 
						|
    [CEReactions, Reflect=value] attribute DOMString defaultValue;
 | 
						|
 | 
						|
    [CEReactions] attribute DOMString type;
 | 
						|
    attribute boolean indeterminate;
 | 
						|
 | 
						|
    [CEReactions, LegacyNullToEmptyString] attribute DOMString value;
 | 
						|
 | 
						|
    [ImplementedAs=checked_binding] attribute boolean checked;
 | 
						|
 | 
						|
    [CEReactions, Reflect] attribute boolean disabled;
 | 
						|
    [CEReactions, Reflect=checked] attribute boolean defaultChecked;
 | 
						|
    [CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
 | 
						|
    [CEReactions, Reflect=formtarget] attribute DOMString formTarget;
 | 
						|
    [CEReactions, Reflect] attribute boolean multiple;
 | 
						|
    [CEReactions, Reflect=readonly] attribute boolean readOnly;
 | 
						|
    [CEReactions, Reflect] attribute boolean required;
 | 
						|
 | 
						|
    [CEReactions, Reflect] attribute DOMString align;
 | 
						|
    [CEReactions, Reflect=usemap] attribute DOMString useMap;
 | 
						|
 | 
						|
    boolean checkValidity();
 | 
						|
    boolean reportValidity();
 | 
						|
    undefined setCustomValidity(DOMString error);
 | 
						|
 | 
						|
    undefined select();
 | 
						|
    undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
 | 
						|
 | 
						|
    undefined showPicker();
 | 
						|
 | 
						|
};
 |