mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
This excludes `step-end` and `step-start` which are expected to be converted to the equivalent function at parse time. We are expected to serialize these as the explicit keywords - previously we would parse as `EasingStyleValue` and serialize equivalent functions as the keywords. This caused issues as we would incorrectly serialize even explicit functions as the keyword. This also allows us to move the magic easing functions to `EasingFunction` rather than `EasingStyleValue` which is a bit tidier
41 lines
3.4 KiB
Plaintext
41 lines
3.4 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 35 tests
|
|
|
|
20 Pass
|
|
15 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
|
|
Pass 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
|
|
Pass e.style['animation-timing-function'] = "linear(-10 -10%, -5 -5%, 0, 5, 10)" should set the property value
|
|
Pass e.style['animation-timing-function'] = "linear(0 calc(0%), 0 calc(100%))" should set the property value
|
|
Pass e.style['animation-timing-function'] = "linear(0 calc(50% - 50%), 0 calc(50% + 50%))" should set the property value
|
|
Pass 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)'
|
|
Pass Property animation-timing-function value 'linear(0 calc(0%), 0 calc(100%))'
|
|
Pass Property animation-timing-function value 'linear(0 calc(50% - 50%), 0 calc(50% + 50%))'
|
|
Pass 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%)' |