Index: Source/core/dom/DOMPoint.idl |
diff --git a/Source/core/dom/DOMPoint.idl b/Source/core/dom/DOMPoint.idl |
index e202163c8a160173277b96225daeb061c2bc5588..8c9932314d933dc6b3e17ef73177ebb9bea8edd4 100644 |
--- a/Source/core/dom/DOMPoint.idl |
+++ b/Source/core/dom/DOMPoint.idl |
@@ -2,14 +2,19 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// http://dev.w3.org/fxtf/geometry/#DOMPoint |
+ |
[ |
- Constructor(optional DOMPointInit point), |
- Constructor(unrestricted double x, unrestricted double y, |
+ // FIXME: The point argument is optional in the spec: |
+ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28108 |
+ Constructor(DOMPointInit point), |
+ Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, |
optional unrestricted double z = 0, optional unrestricted double w = 1), |
+ // FIXME: Exposed=(Window,Worker) |
RuntimeEnabled=GeometryInterfaces, |
] interface DOMPoint : DOMPointReadOnly { |
- attribute unrestricted double x; |
- attribute unrestricted double y; |
- attribute unrestricted double z; |
- attribute unrestricted double w; |
+ inherit attribute unrestricted double x; |
+ inherit attribute unrestricted double y; |
+ inherit attribute unrestricted double z; |
+ inherit attribute unrestricted double w; |
}; |