chromium/third_party/blink/renderer/core/css/cssom/css_perspective.idl

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

typedef (CSSNumericValue or CSSKeywordish) CSSPerspectiveValue;

// 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(CSSPerspectiveValue length);
    [RaisesException=Setter] attribute CSSPerspectiveValue length;
};