#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;

};
