Tests: Import timing function tests

This commit is contained in:
Callum Law
2025-10-09 18:01:53 +13:00
committed by Sam Atkins
parent 41b4292447
commit 4c97b336c3
Notes: github-actions[bot] 2025-10-20 10:29:58 +00:00
8 changed files with 269 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
Harness status: OK
Found 15 tests
14 Pass
1 Fail
Pass e.style['animation-timing-function'] = "step-start" should set the property value
Pass e.style['animation-timing-function'] = "step-end" should set the property value
Pass e.style['animation-timing-function'] = "steps(1, start)" should set the property value
Pass e.style['animation-timing-function'] = "steps(1, end)" should set the property value
Pass e.style['animation-timing-function'] = "steps(1, jump-start)" should set the property value
Pass e.style['animation-timing-function'] = "steps(1, jump-end)" should set the property value
Pass e.style['animation-timing-function'] = "steps(1, jump-both)" should set the property value
Pass e.style['animation-timing-function'] = "steps(2, jump-none)" should set the property value
Pass e.style['animation-timing-function'] = "steps(0, start)" should not set the property value
Pass e.style['animation-timing-function'] = "steps(0, end)" should not set the property value
Pass e.style['animation-timing-function'] = "steps(0, jump-start)" should not set the property value
Pass e.style['animation-timing-function'] = "steps(0, jump-end)" should not set the property value
Pass e.style['animation-timing-function'] = "steps(0, jump-both)" should not set the property value
Pass e.style['animation-timing-function'] = "steps(1, jump-none)" should not set the property value
Fail e.style['animation-timing-function'] = "steps(calc(0/0), jump-none)" should not set the property value