| OLD | NEW |
| (Empty) |
| 1 timing_test(function() { | |
| 2 at(0 * 1000, function() { | |
| 3 assert_styles( | |
| 4 '.anim', | |
| 5 [{'left':'100px'}, | |
| 6 {'left':'100px'}, | |
| 7 {'left':'0px'}, | |
| 8 {'left':'0px'}]); | |
| 9 }, "Autogenerated"); | |
| 10 at(0.5 * 1000, function() { | |
| 11 assert_styles( | |
| 12 '.anim', | |
| 13 [{'left':'150px'}, | |
| 14 {'left':'125px'}, | |
| 15 {'left':'0px'}, | |
| 16 {'left':'0px'}]); | |
| 17 }, "Autogenerated"); | |
| 18 at(1.0 * 1000, function() { | |
| 19 assert_styles( | |
| 20 '.anim', | |
| 21 [{'left':'200px'}, | |
| 22 {'left':'150px'}, | |
| 23 {'left':'0px'}, | |
| 24 {'left':'0px'}]); | |
| 25 }, "Autogenerated"); | |
| 26 at(1.5 * 1000, function() { | |
| 27 assert_styles( | |
| 28 '.anim', | |
| 29 [{'left':'200px'}, | |
| 30 {'left':'175px'}, | |
| 31 {'left':'0px'}, | |
| 32 {'left':'0px'}]); | |
| 33 }, "Autogenerated"); | |
| 34 at(2.0 * 1000, function() { | |
| 35 assert_styles( | |
| 36 '.anim', | |
| 37 [{'left':'200px'}, | |
| 38 {'left':'200px'}, | |
| 39 {'left':'100px'}, | |
| 40 {'left':'100px'}]); | |
| 41 }, "Autogenerated"); | |
| 42 at(2.5 * 1000, function() { | |
| 43 assert_styles( | |
| 44 '.anim', | |
| 45 [{'left':'200px'}, | |
| 46 {'left':'200px'}, | |
| 47 {'left':'150px'}, | |
| 48 {'left':'125px'}]); | |
| 49 }, "Autogenerated"); | |
| 50 at(3.0 * 1000, function() { | |
| 51 assert_styles( | |
| 52 '.anim', | |
| 53 [{'left':'200px'}, | |
| 54 {'left':'200px'}, | |
| 55 {'left':'200px'}, | |
| 56 {'left':'150px'}]); | |
| 57 }, "Autogenerated"); | |
| 58 at(3.5 * 1000, function() { | |
| 59 assert_styles( | |
| 60 '.anim', | |
| 61 [{'left':'200px'}, | |
| 62 {'left':'200px'}, | |
| 63 {'left':'200px'}, | |
| 64 {'left':'175px'}]); | |
| 65 }, "Autogenerated"); | |
| 66 at(4.0 * 1000, function() { | |
| 67 assert_styles('.anim', {'left':'200px'}); | |
| 68 }, "Autogenerated"); | |
| 69 }, "Autogenerated checks."); | |
| OLD | NEW |