| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <script src="../resources/testharness.js"></script> | |
| 3 <script src="../resources/testharnessreport.js"></script> | |
| 4 <script> | |
| 5 function finishedPlayer() { | |
| 6 var player = document.documentElement.animate([], 100000); | |
| 7 player.finish(); | |
| 8 return player; | |
| 9 } | |
| 10 | |
| 11 test(function() { | |
| 12 var initial = getComputedStyle(document.documentElement).background; | |
| 13 var player = document.documentElement.animate([{background: 'red'}, {backgroun
d: 'red'}], 100000); | |
| 14 player.playbackRate = -1; | |
| 15 player.currentTime = 0; | |
| 16 assert_equals(getComputedStyle(document.documentElement).background, initial); | |
| 17 }, "An animation which is not filling backwards should not be in effect at time
0 when playing backwards"); | |
| 18 </script> | |
| OLD | NEW |