summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Geometry/DOMRect.idl
blob: a364dba2a0edff4c2849731dbf6d243b37b464be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#import <Geometry/DOMRectReadOnly.idl>

// https://drafts.fxtf.org/geometry/#dompoint
[Exposed=(Window,Worker), Serializable, LegacyWindowAlias=SVGRect]
interface DOMRect : DOMRectReadOnly {

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

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

};