blob: 530e42f140277270505735432dd06f19dc1567cf [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,LayoutWorklet,PaintWorklet)
] interface CSSMatrixComponent : CSSTransformComponent {
attribute DOMMatrix matrix;
};