blob: 46f2e4445cc71dab2926278e5a4f260b2a004159 [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 rotation value in a CSSTransformValue used for properties like
// "transform".
// Spec: https://drafts.css-houdini.org/css-typed-om/#cssrotation
[
Constructor(CSSNumericValue angleValue),
Constructor(CSSNumberish x, CSSNumberish y, CSSNumberish z, CSSNumericValue angle),
Exposed=(Window,PaintWorklet),
RuntimeEnabled=CSSTypedOM,
RaisesException=Constructor
] interface CSSRotation : CSSTransformComponent {
[RaisesException=Setter] attribute CSSNumericValue angle;
[RaisesException=Setter] attribute CSSNumberish x;
[RaisesException=Setter] attribute CSSNumberish y;
[RaisesException=Setter] attribute CSSNumberish z;
};