Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/player-reverse-end-exclusive.html

Issue 2134343003: Renamed the test and change some test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added meta, title, and link Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698