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/#DOMRect |
| 6 |
5 [ | 7 [ |
6 Constructor(optional unrestricted double x = 0, | 8 Constructor(optional unrestricted double x = 0, |
7 optional unrestricted double y = 0, | 9 optional unrestricted double y = 0, |
8 optional unrestricted double width = 0, | 10 optional unrestricted double width = 0, |
9 optional unrestricted double height = 0), | 11 optional unrestricted double height = 0), |
| 12 // FIXME: Exposed=(Window,Worker) |
10 RuntimeEnabled=GeometryInterfaces, | 13 RuntimeEnabled=GeometryInterfaces, |
11 ] interface DOMRect : DOMRectReadOnly { | 14 ] interface DOMRect : DOMRectReadOnly { |
12 attribute unrestricted double x; | 15 inherit attribute unrestricted double x; |
13 attribute unrestricted double y; | 16 inherit attribute unrestricted double y; |
14 attribute unrestricted double width; | 17 inherit attribute unrestricted double width; |
15 attribute unrestricted double height; | 18 inherit attribute unrestricted double height; |
16 }; | 19 }; |
OLD | NEW |