OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2009 Apple Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 // An old version of CSSOM View Module defines the ClientRect interface: | 27 // An old version of CSSOM View Module defines the ClientRect interface: |
28 // http://www.w3.org/TR/2011/WD-cssom-view-20110804/#the-clientrect-interface | 28 // http://www.w3.org/TR/2011/WD-cssom-view-20110804/#the-clientrect-interface |
29 | 29 |
30 // It has since been replaced by DOMRect in CSSOM View Module and | 30 // It has since been replaced by DOMRect in CSSOM View Module and |
31 // Geometry Interfaces Module: | 31 // Geometry Interfaces Module: |
32 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface | 32 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface |
33 // http://dev.w3.org/fxtf/geometry/#DOMRect | 33 // http://dev.w3.org/fxtf/geometry/#DOMRect |
34 | 34 |
35 [ | 35 [ |
36 GarbageCollected, | |
37 ] interface ClientRect { | 36 ] interface ClientRect { |
38 readonly attribute float top; | 37 readonly attribute float top; |
39 readonly attribute float right; | 38 readonly attribute float right; |
40 readonly attribute float bottom; | 39 readonly attribute float bottom; |
41 readonly attribute float left; | 40 readonly attribute float left; |
42 readonly attribute float width; | 41 readonly attribute float width; |
43 readonly attribute float height; | 42 readonly attribute float height; |
44 }; | 43 }; |
OLD | NEW |