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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/DOMMatrixReadOnly.idl ('k') | Source/core/dom/DOMPointInit.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // http://dev.w3.org/fxtf/geometry/#DOMPoint
6
5 [ 7 [
6 Constructor(optional DOMPointInit point), 8 // FIXME: The point argument is optional in the spec:
7 Constructor(unrestricted double x, unrestricted double y, 9 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28108
10 Constructor(DOMPointInit point),
11 Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
8 optional unrestricted double z = 0, optional unrestricted double w = 1), 12 optional unrestricted double z = 0, optional unrestricted double w = 1),
13 // FIXME: Exposed=(Window,Worker)
9 RuntimeEnabled=GeometryInterfaces, 14 RuntimeEnabled=GeometryInterfaces,
10 ] interface DOMPoint : DOMPointReadOnly { 15 ] interface DOMPoint : DOMPointReadOnly {
11 attribute unrestricted double x; 16 inherit attribute unrestricted double x;
12 attribute unrestricted double y; 17 inherit attribute unrestricted double y;
13 attribute unrestricted double z; 18 inherit attribute unrestricted double z;
14 attribute unrestricted double w; 19 inherit attribute unrestricted double w;
15 }; 20 };
OLDNEW
« 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