| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // Represents a rotation value in a CSSTransformValue used for properties like | 5 // Represents a rotation value in a CSSTransformValue used for properties like |
| 6 // "transform". | 6 // "transform". |
| 7 // Spec: https://drafts.css-houdini.org/css-typed-om/#cssrotation | 7 // Spec: https://drafts.css-houdini.org/css-typed-om/#cssrotation |
| 8 [ | 8 [ |
| 9 Constructor(CSSAngleValue angleValue), | 9 Constructor(CSSNumericValue angleValue), |
| 10 Constructor(double x, double y, double z, CSSAngleValue angle), | 10 Constructor(double x, double y, double z, CSSNumericValue angle), |
| 11 Exposed=(Window,PaintWorklet), | 11 Exposed=(Window,PaintWorklet), |
| 12 RuntimeEnabled=CSSTypedOM | 12 RuntimeEnabled=CSSTypedOM |
| 13 ] interface CSSRotation : CSSTransformComponent { | 13 ] interface CSSRotation : CSSTransformComponent { |
| 14 readonly attribute CSSAngleValue angle; | 14 readonly attribute CSSNumericValue angle; |
| 15 readonly attribute double x; | 15 readonly attribute double x; |
| 16 readonly attribute double y; | 16 readonly attribute double y; |
| 17 readonly attribute double z; | 17 readonly attribute double z; |
| 18 }; | 18 }; |
| OLD | NEW |