OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 PASS Reversing an animation inverts the playback rate | 2 PASS Reversing an animation inverts the playback rate |
3 PASS Reversing an animation plays a pausing animation | 3 PASS Reversing an animation plays a pausing animation |
4 PASS Reversing an animation maintains the same current time | 4 PASS Reversing an animation maintains the same current time |
5 PASS Reversing an animation does not cause it to leave the pending state | 5 PASS Reversing an animation does not cause it to leave the pending state |
6 PASS Reversing an animation does not cause it to resolve the ready promise | 6 PASS Reversing an animation does not cause it to resolve the ready promise |
7 PASS Reversing an animation when playbackRate > 0 and currentTime > effect end s
hould make it play from the end | 7 PASS Reversing an animation when playbackRate > 0 and currentTime > effect end s
hould make it play from the end |
8 PASS Reversing an animation when playbackRate > 0 and currentTime < 0 should mak
e it play from the end | 8 PASS Reversing an animation when playbackRate > 0 and currentTime < 0 should mak
e it play from the end |
9 PASS Reversing an animation when playbackRate < 0 and currentTime < 0 should mak
e it play from the start | 9 PASS Reversing an animation when playbackRate < 0 and currentTime < 0 should mak
e it play from the start |
10 PASS Reversing an animation when playbackRate < 0 and currentTime > effect end s
hould make it play from the start | 10 PASS Reversing an animation when playbackRate < 0 and currentTime > effect end s
hould make it play from the start |
11 PASS Reversing an animation when playbackRate > 0 and currentTime < 0 and the ta
rget effect end is positive infinity should throw an exception | 11 PASS Reversing an animation when playbackRate > 0 and currentTime < 0 and the ta
rget effect end is positive infinity should throw an exception |
12 FAIL When reversing throws an exception, the playback rate remains unchanged ass
ert_equals: playbackRate remains unchanged expected 1 but got -1 | 12 FAIL When reversing throws an exception, the playback rate remains unchanged ass
ert_equals: playbackRate remains unchanged expected 1 but got -1 |
13 PASS Reversing animation when playbackRate = 0 and currentTime < 0 and the targe
t effect end is positive infinity should NOT throw an exception | 13 PASS Reversing animation when playbackRate = 0 and currentTime < 0 and the targe
t effect end is positive infinity should NOT throw an exception |
14 PASS Reversing an animation when playbackRate < 0 and currentTime < 0 and the ta
rget effect end is positive infinity should make it play from the start | 14 PASS Reversing an animation when playbackRate < 0 and currentTime < 0 and the ta
rget effect end is positive infinity should make it play from the start |
15 PASS Reversing when when playbackRate == 0 should preserve the current time and
playback rate | 15 PASS Reversing when when playbackRate == 0 should preserve the current time and
playback rate |
16 FAIL Reversing an animation without an active timeline throws an InvalidStateErr
or Animation is not defined | 16 FAIL Reversing an animation without an active timeline throws an InvalidStateErr
or assert_throws: function "function () { animation.reverse(); }" did not throw |
17 Harness: the test ran to completion. | 17 Harness: the test ran to completion. |
18 | 18 |
OLD | NEW |