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