2022-02-15 16:10:51 -03:00
|
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
|
|
2022-10-07 19:45:09 -03:00
|
|
|
// https://html.spec.whatwg.org/multipage/embedded-content.html#htmlimageelement
|
2023-09-02 10:09:33 -03:00
|
|
|
[Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)]
|
2020-06-21 10:26:09 -03:00
|
|
|
interface HTMLImageElement : HTMLElement {
|
|
|
|
|
|
2023-03-23 04:48:52 -03:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
|
2023-02-28 22:45:18 -03:00
|
|
|
[CEReactions, Reflect] attribute DOMString src;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString alt;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString srcset;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString sizes;
|
|
|
|
|
[CEReactions, Reflect=usemap] attribute DOMString useMap;
|
|
|
|
|
[CEReactions, Reflect=ismap] attribute boolean isMap;
|
2020-07-24 08:11:04 -03:00
|
|
|
|
2023-02-28 22:45:18 -03:00
|
|
|
[CEReactions, Reflect] attribute DOMString name;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString align;
|
|
|
|
|
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
|
2020-11-12 01:16:41 -03:00
|
|
|
|
2022-02-25 14:42:37 -03:00
|
|
|
[CEReactions] attribute unsigned long width;
|
|
|
|
|
[CEReactions] attribute unsigned long height;
|
2022-04-12 13:20:43 -03:00
|
|
|
readonly attribute unsigned long naturalWidth;
|
|
|
|
|
readonly attribute unsigned long naturalHeight;
|
2022-02-25 14:42:37 -03:00
|
|
|
|
2022-10-03 09:54:27 -03:00
|
|
|
readonly attribute boolean complete;
|
|
|
|
|
|
2020-12-09 18:26:42 -03:00
|
|
|
};
|