mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Parse animation-* properties as comma separated lists
We are yet to actually support having more than one value but this gets us closer and gains us some WPT tests in the process.
This commit is contained in:
committed by
Tim Ledbetter
parent
4fd57f90b3
commit
030e6d7c9b
Notes:
github-actions[bot]
2025-09-24 11:00:13 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/030e6d7c9b8 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6267 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/tcl3 ✅
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 21 tests
|
||||
|
||||
19 Pass
|
||||
2 Fail
|
||||
20 Pass
|
||||
1 Fail
|
||||
Pass Property animation-timing-function value 'linear'
|
||||
Pass Property animation-timing-function value 'ease'
|
||||
Pass Property animation-timing-function value 'ease-in'
|
||||
@@ -23,5 +23,5 @@ Pass Property animation-timing-function value 'steps(2, jump-none)'
|
||||
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)'
|
||||
Fail Property animation-timing-function value 'linear, ease, linear'
|
||||
Pass Property animation-timing-function value 'linear, ease, linear'
|
||||
Fail Property animation-timing-function value 'steps(calc(2 + sign(100em - 1px)), end)'
|
||||
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 22 tests
|
||||
|
||||
20 Pass
|
||||
2 Fail
|
||||
21 Pass
|
||||
1 Fail
|
||||
Pass e.style['animation-timing-function'] = "linear" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "ease" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "ease-in" should set the property value
|
||||
@@ -24,5 +24,5 @@ Pass e.style['animation-timing-function'] = "steps(2, jump-none)" should set the
|
||||
Pass e.style['animation-timing-function'] = "steps(calc(-10), start)" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "steps(calc(5 / 2), start)" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "steps(calc(1), jump-none)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear, ease, linear" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear, ease, linear" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "steps(calc(2 + sign(100em - 1px)))" should set the property value
|
||||
Reference in New Issue
Block a user