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 | |
6 // Represents a matrix value in a CSSTransformValue used for properties like | 5 // Represents a matrix value in a CSSTransformValue used for properties like |
7 // "transform". | 6 // "transform". |
8 // Spec: https://drafts.css-houdini.org/css-typed-om/#cssmatrixcomponent | 7 // Spec: https://drafts.css-houdini.org/css-typed-om/#cssmatrixcomponent |
9 [ | 8 [ |
10 Constructor(DOMMatrixReadOnly matrix), | 9 Constructor(DOMMatrixReadOnly matrix, |
| 10 optional CSSMatrixComponentOptions options), |
11 Exposed=(Window,PaintWorklet), | 11 Exposed=(Window,PaintWorklet), |
12 RuntimeEnabled=CSSTypedOM | 12 RuntimeEnabled=CSSTypedOM |
13 ] interface CSSMatrixComponent : CSSTransformComponent { | 13 ] interface CSSMatrixComponent : CSSTransformComponent { |
14 attribute DOMMatrix matrix; | 14 attribute DOMMatrix matrix; |
15 }; | 15 }; |
OLD | NEW |