blob: 0e763fc3e3723c7e71d8bd32da7401a7a0c9e896 [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 perspective value in a CSSTransformValue used for properties
// like "transform".
// Spec: https://drafts.css-houdini.org/css-typed-om/#cssperspective
[
Exposed=(Window,LayoutWorklet,PaintWorklet)
] interface CSSPerspective : CSSTransformComponent {
[RaisesException] constructor(CSSNumericValue length);
[RaisesException=Setter] attribute CSSNumericValue length;
};