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 perspective value in a CSSTransformValue used for properties | 5 // Represents a perspective value in a CSSTransformValue used for properties |
6 // like "transform". | 6 // like "transform". |
7 // Spec: https://drafts.css-houdini.org/css-typed-om/#cssperspective | 7 // Spec: https://drafts.css-houdini.org/css-typed-om/#cssperspective |
8 [ | 8 [ |
9 Constructor(CSSLengthValue length), | 9 Constructor(CSSNumericValue length), |
10 Exposed=(Window,PaintWorklet), | 10 Exposed=(Window,PaintWorklet), |
11 RuntimeEnabled=CSSTypedOM, | 11 RuntimeEnabled=CSSTypedOM, |
12 RaisesException=Constructor | 12 RaisesException=Constructor |
13 ] interface CSSPerspective : CSSTransformComponent { | 13 ] interface CSSPerspective : CSSTransformComponent { |
14 readonly attribute CSSLengthValue length; | 14 readonly attribute CSSNumericValue length; |
15 }; | 15 }; |
OLD | NEW |