mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
67ceba2e6a
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
26 lines
848 B
Plaintext
26 lines
848 B
Plaintext
// https://drafts.fxtf.org/geometry/#dompointreadonly
|
|
[Exposed=(Window,Worker), Serializable]
|
|
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;
|
|
};
|