mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-15 04:29:27 +00:00
Equivalent to the perspective() transform function. +34 WPT subtests, and the transformvalue-normalization test now runs to completion instead of throwing an error - though its cases still fail until CSSTransformValue is implemented.
12 lines
436 B
Text
12 lines
436 B
Text
#import <CSS/CSSKeywordValue.idl>
|
|
#import <CSS/CSSNumericValue.idl>
|
|
#import <CSS/CSSTransformComponent.idl>
|
|
|
|
typedef (CSSNumericValue or CSSKeywordish) CSSPerspectiveValue;
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#cssperspective
|
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
interface CSSPerspective : CSSTransformComponent {
|
|
constructor(CSSPerspectiveValue length);
|
|
attribute CSSPerspectiveValue length;
|
|
};
|