diff options
Diffstat (limited to 'components/script/dom/webidls/DOMPoint.webidl')
-rw-r--r-- | components/script/dom/webidls/DOMPoint.webidl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/script/dom/webidls/DOMPoint.webidl b/components/script/dom/webidls/DOMPoint.webidl index f3b9d8cd3c5..b8fc78d571f 100644 --- a/components/script/dom/webidls/DOMPoint.webidl +++ b/components/script/dom/webidls/DOMPoint.webidl @@ -20,3 +20,10 @@ interface DOMPoint : DOMPointReadOnly { inherit attribute unrestricted double z; inherit attribute unrestricted double w; }; + +dictionary DOMPointInit { + unrestricted double x = 0; + unrestricted double y = 0; + unrestricted double z = 0; + unrestricted double w = 1; +}; |