mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-15 12:39:13 +00:00
This is the final CSSStyleValue class used by the per-property test harness, so those now actually run instead of throwing an exception on load. 🎉 +39 WPT subtests. (Plus however many from the per-property tests finally running.) The two failing serialization tests are also failed by Safari in exactly the same way, so that seems more like a spec issue. (The spec is incomplete in quite a few places.) The failing subtest for toMatrix() is also a spec issue: is2D is handled oddly by CSSMatrixComponent and this subtest fails because of the `matrix` getter, which is unspecified. See https://github.com/w3c/css-houdini-drafts/issues/1155 for details.
16 lines
635 B
Text
16 lines
635 B
Text
#import <CSS/CSSStyleValue.idl>
|
|
#import <CSS/CSSTransformComponent.idl>
|
|
#import <Geometry/DOMMatrix.idl>
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#csstransformvalue
|
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
interface CSSTransformValue : CSSStyleValue {
|
|
constructor(sequence<CSSTransformComponent> transforms);
|
|
iterable<CSSTransformComponent>;
|
|
readonly attribute unsigned long length;
|
|
getter CSSTransformComponent (unsigned long index);
|
|
setter undefined (unsigned long index, CSSTransformComponent val);
|
|
|
|
[ImplementedAs=is_2d] readonly attribute boolean is2D;
|
|
DOMMatrix toMatrix();
|
|
};
|