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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-calc-checks.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 timing_test(function() {
2 at(0 * 1000, function() {
3 assert_styles(".anim",{'width':'50px'});
4 });
5 at(0.5 * 1000, function() {
6 assert_styles(".anim", [
7 {'width':'81.25px'},
8 {'width':'81.25px'},
9 {'width':'137.5px'},
10 {'width':'81.25px'},
11 {'width':'95.3125px'},
12 {'width':'95.3125px'},
13 {'width':'95.3125px'},
14 ]);
15 });
16 at(1 * 1000, function() {
17 assert_styles(".anim", [
18 {'width':'150px'},
19 {'width':'150px'},
20 {'width':'225px'},
21 {'width':'150px'},
22 {'width':'168.75px'},
23 {'width':'168.75px'},
24 {'width':'168.75px'},
25 ]);
26 });
27 at(1.5 * 1000, function() {
28 assert_styles(".anim", [
29 {'width':'256.25px'},
30 {'width':'256.25px'},
31 {'width':'312.5px'},
32 {'width':'256.25px'},
33 {'width':'270.3125px'},
34 {'width':'270.3125px'},
35 {'width':'270.3125px'},
36 ]);
37 });
38 at(2 * 1000, function() {
39 assert_styles(".anim",{'width':'400px'});
40 });
41 }, "Auto generated tests");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698