OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 PASS reverse() inverts playbackRate | 2 PASS reverse() inverts playbackRate |
3 PASS reverse() starts to play when pausing animation | 3 PASS reverse() starts to play when pausing animation |
4 PASS reverse() maintains the same currentTime | 4 PASS reverse() maintains the same currentTime |
5 PASS reverse() when playbackRate > 0 and currentTime > effect end | 5 PASS reverse() when playbackRate > 0 and currentTime > effect end |
6 PASS reverse() when playbackRate > 0 and currentTime < 0 | 6 PASS reverse() when playbackRate > 0 and currentTime < 0 |
7 PASS reverse() when playbackRate < 0 and currentTime < 0 | 7 PASS reverse() when playbackRate < 0 and currentTime < 0 |
8 PASS reverse() when playbackRate < 0 and currentTime > effect end | 8 PASS reverse() when playbackRate < 0 and currentTime > effect end |
9 PASS reverse() when playbackRate > 0 and currentTime < 0 and the target effect e
nd is positive infinity | 9 PASS reverse() when playbackRate > 0 and currentTime < 0 and the target effect e
nd is positive infinity |
10 PASS reverse() when playbackRate < 0 and currentTime < 0 and the target effect e
nd is positive infinity | 10 PASS reverse() when playbackRate < 0 and currentTime < 0 and the target effect e
nd is positive infinity |
11 PASS reverse() when playbackRate == 0 | 11 PASS reverse() when playbackRate == 0 |
12 FAIL Reversing an animation without an active timeline throws an InvalidStateErr
or Animation is not defined | 12 FAIL Reversing an animation without an active timeline throws an InvalidStateErr
or assert_throws: function "function () { animation.reverse(); }" did not throw |
13 Harness: the test ran to completion. | 13 Harness: the test ran to completion. |
14 | 14 |
OLD | NEW |