
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 :^)
23 lines
729 B
Text
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;
|
|
|
|
};
|