Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / web-animations-api / player-reverse-end-exclusive.html
blobbe7d0e185a20ff0afe9e2e705c2237c9dc8f6a27
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;
11 test(function() {
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");
18 </script>