Index: third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl |
diff --git a/third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl b/third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl |
index 15a44d47e635240f9c32239f032d8d0602f2cefc..7c381bddb8a05a57d6c34abd500a2879369e2968 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl |
+++ b/third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl |
@@ -2,11 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// https://dev.w3.org/fxtf/geometry/#DOMPoint |
+// https://drafts.fxtf.org/geometry/#dompointreadonly |
[ |
- Constructor(unrestricted double x, unrestricted double y, |
- unrestricted double z, unrestricted double w), |
+ 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 DOMPointReadOnly { |
@@ -17,7 +17,7 @@ |
readonly attribute unrestricted double z; |
readonly attribute unrestricted double w; |
- // FIXME: Implement matrixTransform. |
- // DOMPoint matrixTransform(DOMMatrixReadOnly matrix); |
+ [RaisesException] DOMPoint matrixTransform(optional DOMMatrixInit matrix); |
+ |
serializer = { attribute }; |
}; |