| // Copyright 2016 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // CSSTransformComponent is the base class used for the representations of |
| // the individual CSS transforms. They are combined in a CSSTransformValue |
| // before they can be used as a value for properties like "transform". |
| // Spec: https://drafts.css-houdini.org/css-typed-om/#csstransformcomponent |
| [ |
| Exposed=(Window,LayoutWorklet,PaintWorklet) |
| ] interface CSSTransformComponent { |
| stringifier; |
| attribute boolean is2D; |
| [RaisesException] DOMMatrix toMatrix(); |
| }; |