blob: 14938a8f7827c7ae0d2041e8089843d3bc17df29 [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.
[
Constructor(),
Constructor(sequence<CSSTransformComponent> transformComponents),
Exposed(Window CSSTypedOM, PaintWorklet CSSTypedOM)
] interface CSSTransformValue : CSSStyleValue {
// https://github.com/w3c/css-houdini-drafts/issues/358
readonly attribute unsigned long length;
[ImplementedAs=componentAtIndex] getter CSSTransformComponent (unsigned long index);
iterable<CSSTransformComponent>;
readonly attribute boolean is2D;
[RaisesException, RuntimeEnabled=GeometryInterfaces] DOMMatrix toMatrix();
};