OLD | NEW |
| (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"); | |
OLD | NEW |