LibWeb/Animation: Support progress values outside of [0,1]

If the progress is not in [0,1], the first two or the last two
keyframes are now used for interpolation outside the interval.
This commit is contained in:
Glenn Skrzypczak 2024-11-25 13:54:18 +01:00 committed by Andreas Kling
commit 1e67b85571
Notes: github-actions[bot] 2024-11-25 17:11:18 +00:00
3 changed files with 27 additions and 38 deletions

View file

@ -166,18 +166,6 @@ cubic-bezier(1, 1, 1, 1)
80: 0.80
90: 0.90
100: 1.00
cubic-bezier(1, 1000, 1, 1000)
0: 0.00
10: 1.00
20: 1.00
30: 1.00
40: 1.00
50: 1.00
60: 1.00
70: 1.00
80: 1.00
90: 1.00
100: 1.00
step-start
0: 1.00
10: 1.00