summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/css/cssom/css_transform_component.idl
blob: ab1d67b7128a7ff2db93c7d09c7c0c8d9318bee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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.

// CSSTransformComponent is the base class used for the representations of
// the individual CSS transforms. They are combined in a CSSTransformValue
// before they can be used as a value for properties like "transform".
// Spec: https://drafts.css-houdini.org/css-typed-om/#csstransformcomponent
[
    RuntimeEnabled=CSSTypedOM,
    Exposed=(Window,LayoutWorklet,PaintWorklet)
] interface CSSTransformComponent {
    stringifier;
    attribute boolean is2D;
    [RaisesException] DOMMatrix toMatrix();
};