HTMLImageElement.idl [plain text]
[
ExportMacro=WEBCORE_EXPORT,
JSGenerateToNativeObject,
Exposed=Window,
LegacyFactoryFunctionCallWith=Document,
LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)
] interface HTMLImageElement : HTMLElement {
[CEReactions=NotNeeded, Reflect] attribute DOMString alt;
[CEReactions=NotNeeded, Reflect, URL] attribute USVString src;
[CEReactions=NotNeeded, Reflect] attribute USVString srcset;
[CEReactions=NotNeeded, Reflect] attribute DOMString sizes;
[CEReactions=NotNeeded] attribute DOMString? crossOrigin;
[CEReactions=NotNeeded, Reflect] attribute DOMString useMap;
[CEReactions=NotNeeded, Reflect] attribute boolean isMap;
[CEReactions=NotNeeded] attribute unsigned long width;
[CEReactions=NotNeeded] attribute unsigned long height;
readonly attribute long naturalHeight;
readonly attribute long naturalWidth;
readonly attribute boolean complete;
readonly attribute USVString currentSrc;
[CEReactions=NotNeeded, EnabledBySetting=ReferrerPolicyAttribute, ImplementedAs=referrerPolicyForBindings] attribute DOMString referrerPolicy;
[CEReactions=NotNeeded, Reflect] attribute DOMString decoding;
[CEReactions, EnabledBySetting=LazyImageLoading, ImplementedAs=loadingForBindings] attribute DOMString loading;
Promise<undefined> decode();
[CEReactions=NotNeeded, Reflect] attribute DOMString name;
[CEReactions=NotNeeded, Reflect, URL] attribute USVString lowsrc;
[CEReactions=NotNeeded, Reflect] attribute DOMString align;
[CEReactions=NotNeeded, Reflect] attribute unsigned long hspace;
[CEReactions=NotNeeded, Reflect] attribute unsigned long vspace;
[CEReactions=NotNeeded, Reflect, URL] attribute USVString longDesc;
[CEReactions=NotNeeded, Reflect] attribute [LegacyNullToEmptyString] DOMString border;
[Conditional=ATTACHMENT_ELEMENT, EnabledAtRuntime=AttachmentElement] readonly attribute DOMString attachmentIdentifier;
};