Implement DOMPoint.fromPoint

This commit is contained in:
Kagami Sascha Rosylight 2019-07-05 11:03:34 +09:00
parent 5f477707a1
commit 40dbb2c100
19 changed files with 30 additions and 133 deletions

View file

@ -14,6 +14,8 @@
optional unrestricted double z = 0, optional unrestricted double w = 1),
Exposed=(Window,Worker)]
interface DOMPointReadOnly {
[NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = null);
readonly attribute unrestricted double x;
readonly attribute unrestricted double y;
readonly attribute unrestricted double z;