| OLD | NEW |
| (Empty) |
| 1 timing_test(function() { | |
| 2 at(0 * 1000, function() { | |
| 3 assert_styles(".test",{'perspective':'500px'}); | |
| 4 }); | |
| 5 at(0.5 * 1000, function() { | |
| 6 assert_styles(".test", [ | |
| 7 {'perspective':'412.5px'}, | |
| 8 {'perspective':'625px'}, | |
| 9 {'perspective':'500px'}, | |
| 10 {'perspective':'376px'}, | |
| 11 ]); | |
| 12 }); | |
| 13 at(1 * 1000, function() { | |
| 14 assert_styles(".test", [ | |
| 15 {'perspective':'325px'}, | |
| 16 {'perspective':'750px'}, | |
| 17 {'perspective':'none'}, | |
| 18 {'perspective':'252px'}, | |
| 19 ]); | |
| 20 }); | |
| 21 at(1.5 * 1000, function() { | |
| 22 assert_styles(".test", [ | |
| 23 {'perspective':'237.5px'}, | |
| 24 {'perspective':'875px'}, | |
| 25 {'perspective':'none'}, | |
| 26 {'perspective':'128px'}, | |
| 27 ]); | |
| 28 }); | |
| 29 at(2 * 1000, function() { | |
| 30 assert_styles(".test", [ | |
| 31 {'perspective':'150px'}, | |
| 32 {'perspective':'1000px'}, | |
| 33 {'perspective':'none'}, | |
| 34 {'perspective':'4px'}, | |
| 35 ]); | |
| 36 }); | |
| 37 }, "Auto generated tests"); | |
| OLD | NEW |