| // 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. |
| |
| // Represents a matrix value in a CSSTransformValue used for properties like |
| // "transform". |
| // Spec: https://drafts.css-houdini.org/css-typed-om/#cssmatrixcomponent |
| [ |
| Exposed=(Window,LayoutWorklet,PaintWorklet) |
| ] interface CSSMatrixComponent : CSSTransformComponent { |
| constructor(DOMMatrixReadOnly matrix, |
| optional CSSMatrixComponentOptions options = {}); |
| attribute DOMMatrix matrix; |
| }; |