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