blob: 4ffa517d59c5b9450896febef2413156e148242f [file] [log] [blame]
// 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
[
Constructor(DOMMatrixReadOnly matrix,
optional CSSMatrixComponentOptions options),
Exposed=(Window,PaintWorklet),
RuntimeEnabled=CSSTypedOM
] interface CSSMatrixComponent : CSSTransformComponent {
attribute DOMMatrix matrix;
};