LibWeb: Support relative lengths within easing function calc()s

This commit is contained in:
Callum Law
2025-10-11 15:09:11 +13:00
committed by Sam Atkins
parent ad41f053b8
commit 755a576013
Notes: github-actions[bot] 2025-10-20 10:29:08 +00:00
6 changed files with 63 additions and 47 deletions

View File

@@ -2,8 +2,7 @@ Harness status: OK
Found 21 tests
20 Pass
1 Fail
21 Pass
Pass Property animation-timing-function value 'linear'
Pass Property animation-timing-function value 'ease'
Pass Property animation-timing-function value 'ease-in'
@@ -24,4 +23,4 @@ Pass Property animation-timing-function value 'steps(calc(-10), start)'
Pass Property animation-timing-function value 'steps(calc(5 / 2), start)'
Pass Property animation-timing-function value 'steps(calc(1), jump-none)'
Pass Property animation-timing-function value 'linear, ease, linear'
Fail Property animation-timing-function value 'steps(calc(2 + sign(100em - 1px)), end)'
Pass Property animation-timing-function value 'steps(calc(2 + sign(100em - 1px)), end)'