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 | 5 // http://dev.w3.org/fxtf/geometry/#DOMRect |
6 | 6 |
7 [ | 7 [ |
8 Constructor(unrestricted double x, unrestricted double y, | 8 Constructor(unrestricted double x, unrestricted double y, |
9 unrestricted double width, unrestricted double height), | 9 unrestricted double width, unrestricted double height), |
10 // FIXME: Exposed=(Window,Worker) | 10 // FIXME: Exposed=(Window,Worker) |
11 GarbageCollected, | |
12 RuntimeEnabled=GeometryInterfaces, | 11 RuntimeEnabled=GeometryInterfaces, |
13 ] interface DOMRectReadOnly { | 12 ] interface DOMRectReadOnly { |
14 readonly attribute unrestricted double x; | 13 readonly attribute unrestricted double x; |
15 readonly attribute unrestricted double y; | 14 readonly attribute unrestricted double y; |
16 readonly attribute unrestricted double width; | 15 readonly attribute unrestricted double width; |
17 readonly attribute unrestricted double height; | 16 readonly attribute unrestricted double height; |
18 readonly attribute unrestricted double top; | 17 readonly attribute unrestricted double top; |
19 readonly attribute unrestricted double right; | 18 readonly attribute unrestricted double right; |
20 readonly attribute unrestricted double bottom; | 19 readonly attribute unrestricted double bottom; |
21 readonly attribute unrestricted double left; | 20 readonly attribute unrestricted double left; |
22 }; | 21 }; |
OLD | NEW |