| 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 // CSSTransformComponent is the base class used for the representations of | 5 // CSSTransformComponent is the base class used for the representations of |
| 6 // the individual CSS transforms. They are combined in a CSSTransformValue | 6 // the individual CSS transforms. They are combined in a CSSTransformValue |
| 7 // before they can be used as a value for properties like "transform". | 7 // before they can be used as a value for properties like "transform". |
| 8 // Spec: https://drafts.css-houdini.org/css-typed-om/#csstransformcomponent | 8 // Spec: https://drafts.css-houdini.org/css-typed-om/#csstransformcomponent |
| 9 [ | 9 [ |
| 10 Exposed=(Window,PaintWorklet), | 10 Exposed=(Window,PaintWorklet), |
| 11 RuntimeEnabled=CSSTypedOM, | 11 RuntimeEnabled=CSSTypedOM, |
| 12 ] interface CSSTransformComponent { | 12 ] interface CSSTransformComponent { |
| 13 stringifier; | 13 stringifier; |
| 14 boolean is2D(); | 14 boolean is2D(); |
| 15 CSSMatrixComponent asMatrix(); | |
| 16 }; | 15 }; |
| OLD | NEW |