mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
67ceba2e6a
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
25 lines
917 B
Text
25 lines
917 B
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 {
|
|
|
|
[Reflect] attribute DOMString src;
|
|
[Reflect] attribute DOMString alt;
|
|
[Reflect] attribute DOMString srcset;
|
|
[Reflect] attribute DOMString sizes;
|
|
[Reflect=usemap] attribute DOMString useMap;
|
|
[Reflect=ismap] attribute boolean isMap;
|
|
|
|
[Reflect] attribute DOMString name;
|
|
[Reflect] attribute DOMString align;
|
|
[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;
|
|
|
|
};
|