summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
blob: 5b759c9509cb6f583831de4aa9c85a4d4d3c035e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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;

};