HTMLImageElement.idl [plain text]
[
ExportMacro=WEBCORE_EXPORT,
JSGenerateToNativeObject,
ConstructorCallWith=Document,
NamedConstructor=Image(optional unsigned long width, optional unsigned long height)
] interface HTMLImageElement : HTMLElement {
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString alt;
[Reflect] attribute [TreatNullAs=EmptyString] DOMString border;
attribute DOMString? crossOrigin;
attribute unsigned long height;
[Reflect] attribute unsigned long hspace;
[Reflect] attribute boolean isMap;
[Reflect, URL] attribute USVString longDesc;
[Reflect, URL] attribute USVString src;
[Reflect] attribute USVString srcset;
[Reflect] attribute DOMString sizes;
readonly attribute USVString currentSrc;
[Reflect] attribute DOMString useMap;
[Reflect] attribute unsigned long vspace;
attribute unsigned long width;
[Reflect] attribute DOMString decoding;
readonly attribute boolean complete;
[Reflect,URL] attribute USVString lowsrc;
readonly attribute long naturalHeight;
readonly attribute long naturalWidth;
readonly attribute long x;
readonly attribute long y;
Promise<void> decode();
};