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

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: 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..325ccec1778b19e0525843f518bc2b36958ac5b6 100644
--- a/Source/core/dom/DOMPoint.idl
+++ b/Source/core/dom/DOMPoint.idl
@@ -2,12 +2,17 @@
// 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),
+ // FIXME: The x and y arguments should be optional (See: crbug.com/462098)
zino 2015/02/26 12:11:32 I'm not sure but it seems to be spec[1] bug(?). C
zino 2015/02/26 13:51:15 Hi @haraken, Could you please take a look?
Jens Widell 2015/02/26 14:02:56 It's a spec bug, alright. WebIDL doesn't allow (am
Constructor(unrestricted double x, unrestricted double y,
optional unrestricted double z = 0, optional unrestricted double w = 1),
+ // FIXME: Exposed=(Window,Worker)
RuntimeEnabled=GeometryInterfaces,
] interface DOMPoint : DOMPointReadOnly {
+ // FIXME: The attributes should have the inherit keyword (See: crbug.com/462097)
attribute unrestricted double x;
attribute unrestricted double y;
attribute unrestricted double z;
« 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