haikuwebkit/LayoutTests/fast/css/animation-steps-calculated-...

14 lines
546 B
Plaintext

Tests assigning using calculated value in steps() for -webkit-animation-timing-function works.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS testDiv.style['-webkit-animation-timing-function'] is ""
testDiv.style['-webkit-animation-timing-function'] = 'steps(calc(1 + 2), end)'
PASS testDiv.style['-webkit-animation-timing-function'] is "steps(3)"
PASS window.getComputedStyle(testDiv).getPropertyValue('-webkit-animation-timing-function') is "steps(3)"
PASS successfullyParsed is true
TEST COMPLETE