summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Geometry/DOMRectReadOnly.idl
blob: aa77d24e4b65f140a08f6a6352bcd9ea2333daa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// https://drafts.fxtf.org/geometry/#domrectreadonly
[Exposed=(Window, Worker), Serializable]
interface DOMRectReadOnly {

    constructor(optional double x = 0, optional double y = 0, optional double width = 0, optional double height = 0);

    readonly attribute double x;
    readonly attribute double y;
    readonly attribute double width;
    readonly attribute double height;

    readonly attribute double top;
    readonly attribute double right;
    readonly attribute double bottom;
    readonly attribute double left;

};