2 <script src=
"../resources/testharness.js"></script>
3 <script src=
"../resources/testharnessreport.js"></script>
5 function finishedPlayer() {
6 var player
= document
.documentElement
.animate([], 100000);
12 var initial
= getComputedStyle(document
.documentElement
).background
;
13 var player
= document
.documentElement
.animate([{background
: 'red'}, {background
: '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");