mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
16 lines
605 B
Plaintext
16 lines
605 B
Plaintext
#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;
|
|
};
|