mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Properly simplify sum nodes containing negated sum nodes
This is ad-hoc, see https://github.com/w3c/csswg-drafts/issues/13020 Gains us 5 WPT tests
This commit is contained in:
Notes:
github-actions[bot]
2025-10-30 12:19:35 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c2ca7124062 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6612 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -0,0 +1,16 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 11 tests
|
||||
|
||||
11 Pass
|
||||
Pass testing calc(20px + calc(80px))
|
||||
Pass testing calc(calc(100px))
|
||||
Pass testing calc(calc(2) * calc(50px)
|
||||
Pass testing calc(calc(150px*2/3)
|
||||
Pass testing calc(calc(2 * calc(calc(3)) + 4) * 10px)
|
||||
Pass testing calc(50px + calc(40%))
|
||||
Pass testing calc(calc(300px - 1 * (0% + 100px)))
|
||||
Pass testing calc(calc(300px - (0% + 100px) * 1))
|
||||
Pass testing calc(calc(300px - (0% + 100px) * -1))
|
||||
Pass testing calc(calc(300px - -1 * (0% + 100px)))
|
||||
Pass testing calc(calc(300px - 1 * (0% - 100px)))
|
||||
Reference in New Issue
Block a user