mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 12:12:53 +00:00
24 lines
808 B
Text
24 lines
808 B
Text
// https://drafts.fxtf.org/geometry/#dompointreadonly
|
|
interface DOMPointReadOnly {
|
|
|
|
constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
|
|
optional unrestricted double z = 0, optional unrestricted double w = 1);
|
|
|
|
[NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = {});
|
|
|
|
readonly attribute unrestricted double x;
|
|
readonly attribute unrestricted double y;
|
|
readonly attribute unrestricted double z;
|
|
readonly attribute unrestricted double w;
|
|
|
|
// FIXME: DOMPoint matrixTransform(optional DOMMatrixInit matrix = {});
|
|
|
|
// FIXME: [Default] object toJSON();
|
|
};
|
|
|
|
dictionary DOMPointInit {
|
|
unrestricted double x = 0;
|
|
unrestricted double y = 0;
|
|
unrestricted double z = 0;
|
|
unrestricted double w = 1;
|
|
};
|