ladybird/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
Andreas Kling 0455af4441 LibWeb: Implement HTMLImageElement.complete
This was fairly straightforward, although a small part had to be ad-hoc
since we don't yet load images through Fetch.

With this, we can now see annotation labels on deskto.ps :^)
2022-10-03 17:22:08 +02:00

23 lines
729 B
Text

#import <HTML/HTMLElement.idl>
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;
};