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

Unified Diff: Source/core/dom/DOMRect.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/DOMPointReadOnly.idl ('k') | Source/core/dom/DOMRectReadOnly.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMRect.idl
diff --git a/Source/core/dom/DOMRect.idl b/Source/core/dom/DOMRect.idl
index 8a0577841333f05cf296f21482a1ef7397b22f5b..185d3ff38b4efbeb5eaee2ed3039e1c7f752415d 100644
--- a/Source/core/dom/DOMRect.idl
+++ b/Source/core/dom/DOMRect.idl
@@ -2,15 +2,18 @@
// 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/#DOMRect
+
[
Constructor(optional unrestricted double x = 0,
optional unrestricted double y = 0,
optional unrestricted double width = 0,
optional unrestricted double height = 0),
+ // FIXME: Exposed=(Window,Worker)
RuntimeEnabled=GeometryInterfaces,
] interface DOMRect : DOMRectReadOnly {
- attribute unrestricted double x;
- attribute unrestricted double y;
- attribute unrestricted double width;
- attribute unrestricted double height;
+ inherit attribute unrestricted double x;
+ inherit attribute unrestricted double y;
+ inherit attribute unrestricted double width;
+ inherit attribute unrestricted double height;
};
« no previous file with comments | « Source/core/dom/DOMPointReadOnly.idl ('k') | Source/core/dom/DOMRectReadOnly.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698