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

Side by Side Diff: polymer_0.5.0/bower_components/web-animations-js/test/js/tick.js

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
(Empty)
1 suite('tick-tests', function() {
2 setup(function() { webAnimationsMinifill.timeline._players = []; });
3
4 test('players are in effect but ticking stops once forward fill is reached', f unction() {
5 tick(90);
6 var player = document.body.animate([], {duration: 1000, fill: 'forwards'});
7 tick(100);
8 tick(600);
9 assert.equal(webAnimationsMinifill.timeline._players.length, 1);
10 assert.equal(isTicking(), true);
11 tick(1100);
12 assert.equal(player.finished, true);
13 assert.equal(webAnimationsMinifill.timeline._players.length, 1);
14 assert.equal(isTicking(), false);
15 });
16 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698