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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-box-shadow-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", [
4 {'boxShadow':'rgb(0, 0, 255) -20px -20px 0px 0px'},
5 {'boxShadow':'rgb(0, 0, 255) -20px -20px 8px 0px inset'},
6 {'boxShadow':'rgb(0, 0, 255) 20px 20px 8px 0px inset'},
7 {'boxShadow':'none'},
8 ]);
9 });
10 at(1 * 1000, function() {
11 assert_styles(".anim", [
12 {'boxShadow':'rgb(0, 32, 191) -10px -10px 3px 2px'},
13 {'boxShadow':'rgb(0, 32, 191) -10px -10px 9px 2px inset'},
14 {'boxShadow':'rgb(0, 0, 255) 20px 20px 8px 0px inset'},
15 {'boxShadow':'none'},
16 ]);
17 });
18 at(2 * 1000, function() {
19 assert_styles(".anim", [
20 {'boxShadow':'rgb(0, 64, 128) 0px 0px 6px 4px'},
21 {'boxShadow':'rgb(0, 64, 128) 0px 0px 10px 4px inset'},
22 {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
23 {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
24 ]);
25 });
26 at(3 * 1000, function() {
27 assert_styles(".anim", [
28 {'boxShadow':'rgb(0, 96, 64) 10px 10px 9px 6px'},
29 {'boxShadow':'rgb(0, 96, 64) 10px 10px 11px 6px inset'},
30 {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
31 {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
32 ]);
33 });
34 at(4 * 1000, function() {
35 assert_styles(".anim", [
36 {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
37 {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px inset'},
38 {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
39 {'boxShadow':'rgb(0, 128, 0) 20px 20px 12px 8px'},
40 ]);
41 });
42 }, "Auto generated tests");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698