Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-easing/timing-functions-syntax-valid.txt
Callum Law 030e6d7c9b 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.
2025-09-24 11:58:20 +01:00

28 lines
2.2 KiB
Plaintext

Harness status: OK
Found 22 tests
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
Pass e.style['animation-timing-function'] = "ease-out" should set the property value
Pass e.style['animation-timing-function'] = "ease-in-out" should set the property value
Pass e.style['animation-timing-function'] = "cubic-bezier(0.1, 0.2, 0.8, 0.9)" should set the property value
Pass e.style['animation-timing-function'] = "cubic-bezier(0, -2, 1, 3)" should set the property value
Pass e.style['animation-timing-function'] = "cubic-bezier(0, 0.7, 1, 1.3)" should set the property value
Pass e.style['animation-timing-function'] = "cubic-bezier(calc(-2), calc(0.7 / 2), calc(1.5), calc(0))" should set the property value
Fail e.style['animation-timing-function'] = "cubic-bezier(0, sibling-index(), 1, sign(2em - 20px))" should set the property value
Pass e.style['animation-timing-function'] = "steps(4, start)" should set the property value
Pass e.style['animation-timing-function'] = "steps(2, end)" should set the property value
Pass e.style['animation-timing-function'] = "steps( 2, end )" should set the property value
Pass e.style['animation-timing-function'] = "steps(2, jump-start)" should set the property value
Pass e.style['animation-timing-function'] = "steps(2, jump-end)" should set the property value
Pass e.style['animation-timing-function'] = "steps(2, 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(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
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