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

Unified Diff: third_party/WebKit/Source/core/dom/DOMRectReadOnly.idl

Issue 2603393002: The DOMRectReadOnly implementation are different with spec. (Closed)
Patch Set: The DOMRect/DOMRectReadOnly implementation are different with spec. Created 3 years, 11 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 | « third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-rect.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/DOMRectReadOnly.idl
diff --git a/third_party/WebKit/Source/core/dom/DOMRectReadOnly.idl b/third_party/WebKit/Source/core/dom/DOMRectReadOnly.idl
index 2f1c37f99f0cf4406f4585ac5545c8604c337867..045afd3ad9ecb920961828e99bdfcef9232c6956 100644
--- a/third_party/WebKit/Source/core/dom/DOMRectReadOnly.idl
+++ b/third_party/WebKit/Source/core/dom/DOMRectReadOnly.idl
@@ -5,8 +5,8 @@
// https://dev.w3.org/fxtf/geometry/#DOMRect
[
- Constructor(unrestricted double x, unrestricted double y,
- unrestricted double width, unrestricted double height),
+ 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 DOMRectReadOnly {
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-rect.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698