blob: 87b7b7e6b86f0d794c61a2d02d1830278dcdfac5 [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
[
Constructor(CSSNumericValue length),
Exposed=(Window,PaintWorklet),
RuntimeEnabled=CSSTypedOM,
RaisesException=Constructor
] interface CSSPerspective : CSSTransformComponent {
[RaisesException=Setter] attribute CSSNumericValue length;
};