Serenity Operating System
at master 25 lines 917 B view raw
1#import <HTML/HTMLElement.idl> 2 3// https://html.spec.whatwg.org/multipage/embedded-content.html#htmlimageelement 4[Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)] 5interface HTMLImageElement : HTMLElement { 6 7 [Reflect] attribute DOMString src; 8 [Reflect] attribute DOMString alt; 9 [Reflect] attribute DOMString srcset; 10 [Reflect] attribute DOMString sizes; 11 [Reflect=usemap] attribute DOMString useMap; 12 [Reflect=ismap] attribute boolean isMap; 13 14 [Reflect] attribute DOMString name; 15 [Reflect] attribute DOMString align; 16 [LegacyNullToEmptyString, Reflect] attribute DOMString border; 17 18 [CEReactions] attribute unsigned long width; 19 [CEReactions] attribute unsigned long height; 20 readonly attribute unsigned long naturalWidth; 21 readonly attribute unsigned long naturalHeight; 22 23 readonly attribute boolean complete; 24 25};