mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Tests: Import timing function tests
This commit is contained in:
Notes:
github-actions[bot]
2025-10-20 10:29:58 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/4c97b336c3a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6459 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -0,0 +1,41 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 35 tests
|
||||
|
||||
12 Pass
|
||||
23 Fail
|
||||
Pass e.style['animation-timing-function'] = "linear(0 0%, 1 100%)" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear( 0 0%, 1 100% )" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0, 1)" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear(-10, -5, 0, 5, 10)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(-10 -10%, -5 -5%, 0, 5, 10)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0 calc(0%), 0 calc(100%))" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0 calc(50% - 50%), 0 calc(50% + 50%))" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0 calc(50%), 0 100%)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0 0% 50%, 1 50% 100%)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0, 0.5 25% 75%, 1 100% 100%)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0, 1.3, 1, 0.92, 1, 0.99, 1, 0.998, 1 100% 100%)" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear(0, 0 40%, 1, 0.5, 1)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0, 1.3, 1, 0.92, 1, 0.99, 1, 1.004, 0.998, 1 100% 100%)" should set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(calc(0/0), 1)" should set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear()" should not set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0)" should not set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear(100%)" should not set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear(0% 1 50%)" should not set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0 0% 100%)" should not set the property value
|
||||
Fail e.style['animation-timing-function'] = "linear(0% 100% 0)" should not set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear(0 calc(50px - 50%), 0 calc(50em + 50em))" should not set the property value
|
||||
Pass e.style['animation-timing-function'] = "linear(0 calc(50%, 50%), 0 calc(50% + 50%))" should not set the property value
|
||||
Pass Property animation-timing-function value 'linear(0 0%, 1 100%)'
|
||||
Pass Property animation-timing-function value 'linear( 0 0%, 1 100% )'
|
||||
Fail Property animation-timing-function value 'linear(0, 1)'
|
||||
Fail Property animation-timing-function value 'linear(-10, -5, 0, 5, 10)'
|
||||
Fail Property animation-timing-function value 'linear(-10 -10%, -5 -5%, 0, 5, 10)'
|
||||
Fail Property animation-timing-function value 'linear(0 calc(0%), 0 calc(100%))'
|
||||
Fail Property animation-timing-function value 'linear(0 calc(50% - 50%), 0 calc(50% + 50%))'
|
||||
Fail Property animation-timing-function value 'linear(0 calc(min(50%, 60%)), 0 100%)'
|
||||
Pass Property animation-timing-function value 'linear(0 0% 50%, 1 50% 100%)'
|
||||
Fail Property animation-timing-function value 'linear(0, 0.5 25% 75%, 1 100% 100%)'
|
||||
Fail Property animation-timing-function value 'linear(0, 1.3, 1, 0.92, 1, 0.99, 1, 0.998, 1 100% 100%)'
|
||||
Fail Property animation-timing-function value 'linear(0, 0 40%, 1, 0.5, 1)'
|
||||
Fail Property animation-timing-function value 'linear(0, 1.3, 1, 0.92, 1, 0.99, 1, 1.004, 0.998, 1 100% 100%)'
|
||||
Reference in New Issue
Block a user