blob: 2644e70bb61e7f5de29c93e81b86088cbf859fd0 [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 scale value in a CSSTransformValue used for properties like
// "transform".
// Spec: https://drafts.css-houdini.org/css-typed-om/#cssscale
[
Constructor(CSSNumberish x, CSSNumberish y, optional CSSNumberish z),
Exposed=(Window,LayoutWorklet,PaintWorklet),
RaisesException=Constructor
] interface CSSScale : CSSTransformComponent {
[RaisesException=Setter] attribute CSSNumberish x;
[RaisesException=Setter] attribute CSSNumberish y;
[RaisesException=Setter] attribute CSSNumberish z;
};