Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Unified Diff: Source/core/dom/DOMPoint.idl

Issue 956203002: Sync the DOM* geometry interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add inherit and tweak constructors Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DOMMatrixReadOnly.idl ('k') | Source/core/dom/DOMPointInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « Source/core/dom/DOMMatrixReadOnly.idl ('k') | Source/core/dom/DOMPointInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698