mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb/CSS: Implement CSSMatrixComponent
Equivalent to the matrix() and matrix3d() transform functions. +19 WPT subtests.
This commit is contained in:
Notes:
github-actions[bot]
2025-09-24 11:28:54 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/a1db5e77899 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6227
15
Libraries/LibWeb/CSS/CSSMatrixComponent.idl
Normal file
15
Libraries/LibWeb/CSS/CSSMatrixComponent.idl
Normal file
@@ -0,0 +1,15 @@
|
||||
#import <CSS/CSSTransformComponent.idl>
|
||||
#import <Geometry/DOMMatrix.idl>
|
||||
#import <Geometry/DOMMatrixReadOnly.idl>
|
||||
|
||||
// https://drafts.css-houdini.org/css-typed-om-1/#cssmatrixcomponent
|
||||
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
||||
interface CSSMatrixComponent : CSSTransformComponent {
|
||||
constructor(DOMMatrixReadOnly matrix, optional CSSMatrixComponentOptions options = {});
|
||||
attribute DOMMatrix matrix;
|
||||
};
|
||||
|
||||
// https://drafts.css-houdini.org/css-typed-om-1/#dictdef-cssmatrixcomponentoptions
|
||||
dictionary CSSMatrixComponentOptions {
|
||||
boolean is2D;
|
||||
};
|
||||
Reference in New Issue
Block a user