OLD | NEW |
---|---|
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 Constructor(optional DOMPointInit point), |
9 // 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
| |
7 Constructor(unrestricted double x, unrestricted double y, | 10 Constructor(unrestricted double x, unrestricted double y, |
8 optional unrestricted double z = 0, optional unrestricted double w = 1), | 11 optional unrestricted double z = 0, optional unrestricted double w = 1), |
12 // FIXME: Exposed=(Window,Worker) | |
9 RuntimeEnabled=GeometryInterfaces, | 13 RuntimeEnabled=GeometryInterfaces, |
10 ] interface DOMPoint : DOMPointReadOnly { | 14 ] interface DOMPoint : DOMPointReadOnly { |
15 // FIXME: The attributes should have the inherit keyword (See: crbug.com/462 097) | |
11 attribute unrestricted double x; | 16 attribute unrestricted double x; |
12 attribute unrestricted double y; | 17 attribute unrestricted double y; |
13 attribute unrestricted double z; | 18 attribute unrestricted double z; |
14 attribute unrestricted double w; | 19 attribute unrestricted double w; |
15 }; | 20 }; |
OLD | NEW |