OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // https://dev.w3.org/fxtf/geometry/#DOMRect |
| 6 |
| 7 [ |
| 8 Constructor(optional unrestricted double x = 0, |
| 9 optional unrestricted double y = 0, |
| 10 optional unrestricted double width = 0, |
| 11 optional unrestricted double height = 0), |
| 12 Exposed=(Window,Worker), |
| 13 RuntimeEnabled=GeometryInterfaces, |
| 14 ] interface DOMRect : DOMRectReadOnly { |
| 15 [NewObject] static DOMRect fromRect(optional DOMRectInit other); |
| 16 |
| 17 inherit attribute unrestricted double x; |
| 18 inherit attribute unrestricted double y; |
| 19 inherit attribute unrestricted double width; |
| 20 inherit attribute unrestricted double height; |
| 21 }; |
OLD | NEW |