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(CSSNumericValue angleValue), | 9 Constructor(CSSNumericValue angleValue), |
10 Constructor(double x, double y, double z, CSSNumericValue 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 RaisesException=Constructor | 13 RaisesException=Constructor |
14 ] interface CSSRotation : CSSTransformComponent { | 14 ] interface CSSRotation : CSSTransformComponent { |
15 readonly attribute CSSNumericValue angle; | 15 [RaisesException=Setter] attribute CSSNumericValue angle; |
16 readonly attribute double x; | 16 attribute double x; |
17 readonly attribute double y; | 17 attribute double y; |
18 readonly attribute double z; | 18 attribute double z; |
19 }; | 19 }; |
OLD | NEW |