mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
15 lines
605 B
Text
15 lines
605 B
Text
#import <Geometry/DOMRectReadOnly.idl>
|
|
|
|
// https://drafts.fxtf.org/geometry/#dompoint
|
|
[Exposed=(Window,Worker), Serializable, LegacyWindowAlias=SVGRect]
|
|
interface DOMRect : DOMRectReadOnly {
|
|
constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
|
|
optional unrestricted double width = 0, optional unrestricted double height = 0);
|
|
|
|
[NewObject] static DOMRect fromRect(optional DOMRectInit other = {});
|
|
|
|
attribute unrestricted double x;
|
|
attribute unrestricted double y;
|
|
attribute unrestricted double width;
|
|
attribute unrestricted double height;
|
|
};
|