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.
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
#import <HTML/HTMLElement.idl>
 | 
						|
 | 
						|
// https://html.spec.whatwg.org/multipage/embedded-content.html#htmlimageelement
 | 
						|
[Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)]
 | 
						|
interface HTMLImageElement : HTMLElement {
 | 
						|
 | 
						|
    [HTMLConstructor] constructor();
 | 
						|
 | 
						|
    [CEReactions, Reflect] attribute DOMString src;
 | 
						|
    [CEReactions, Reflect] attribute DOMString alt;
 | 
						|
    [CEReactions, Reflect] attribute DOMString srcset;
 | 
						|
    [CEReactions, Reflect] attribute DOMString sizes;
 | 
						|
    [CEReactions, Reflect=usemap] attribute DOMString useMap;
 | 
						|
    [CEReactions, Reflect=ismap] attribute boolean isMap;
 | 
						|
 | 
						|
    [CEReactions, Reflect] attribute DOMString name;
 | 
						|
    [CEReactions, Reflect] attribute DOMString align;
 | 
						|
    [CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
 | 
						|
 | 
						|
    [CEReactions] attribute unsigned long width;
 | 
						|
    [CEReactions] attribute unsigned long height;
 | 
						|
    readonly attribute unsigned long naturalWidth;
 | 
						|
    readonly attribute unsigned long naturalHeight;
 | 
						|
 | 
						|
    readonly attribute boolean complete;
 | 
						|
 | 
						|
};
 |