mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 06:39:07 +00:00
LibWeb: Move Transformation::to_matrix
to new CSV resolve methods
This gains us 2 WPT passes as we now correctly disallow relative lengths in more places in the `DOMMatrix` constructor.
This commit is contained in:
parent
aa31b69e7e
commit
3d7c5115d8
Notes:
github-actions[bot]
2025-07-17 06:33:04 +00:00
Author: https://github.com/Calme1709
Commit: 3d7c5115d8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5478
Reviewed-by: https://github.com/gmta ✅
3 changed files with 12 additions and 8 deletions
|
@ -2,8 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 138 tests
|
||||
|
||||
132 Pass
|
||||
6 Fail
|
||||
134 Pass
|
||||
4 Fail
|
||||
Pass new DOMMatrix()
|
||||
Pass new DOMMatrix(undefined)
|
||||
Pass new DOMMatrix(new DOMMatrix())
|
||||
|
@ -47,7 +47,7 @@ Pass new DOMMatrix("translateX(5vi)")
|
|||
Pass new DOMMatrix("translateX(5vmin)")
|
||||
Pass new DOMMatrix("translateX(5vmax)")
|
||||
Pass new DOMMatrix("translateX(5%)")
|
||||
Fail new DOMMatrix("translateX(calc(10px * sign(1em - 10px)))")
|
||||
Pass new DOMMatrix("translateX(calc(10px * sign(1em - 10px)))")
|
||||
Pass new DOMMatrix("translateX(calc(10px * sibling-index()))")
|
||||
Pass new DOMMatrix("rotate(5)")
|
||||
Pass new DOMMatrix("rotate(5, 5, 5)")
|
||||
|
@ -116,7 +116,7 @@ Pass new DOMMatrixReadOnly("translateX(5vi)")
|
|||
Pass new DOMMatrixReadOnly("translateX(5vmin)")
|
||||
Pass new DOMMatrixReadOnly("translateX(5vmax)")
|
||||
Pass new DOMMatrixReadOnly("translateX(5%)")
|
||||
Fail new DOMMatrixReadOnly("translateX(calc(10px * sign(1em - 10px)))")
|
||||
Pass new DOMMatrixReadOnly("translateX(calc(10px * sign(1em - 10px)))")
|
||||
Pass new DOMMatrixReadOnly("translateX(calc(10px * sibling-index()))")
|
||||
Pass new DOMMatrixReadOnly("rotate(5)")
|
||||
Pass new DOMMatrixReadOnly("rotate(5, 5, 5)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue