OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="testharness/testharness.js"></script> | 2 <script src="testharness/testharness.js"></script> |
3 <script src="testharness/testharnessreport.js"></script> | 3 <script src="testharness/testharnessreport.js"></script> |
4 <script src="resources/keyframes-test.js"></script> | 4 <script src="resources/keyframes-test.js"></script> |
5 <script> | 5 <script> |
6 test(function() { | 6 test(function() { |
7 assertAnimationStyles([ | 7 assertAnimationStyles([ |
8 {opacity: '0', left: '0px', easing: 'steps(2, start)'}, | 8 {opacity: '0', left: '0px', easing: 'steps(2, start)'}, |
9 {opacity: '0.25', left: '25px'}, | 9 {opacity: '0.25', left: '25px'}, |
10 {opacity: '0.75', left: '75px'}, | 10 {opacity: '0.75', left: '75px'}, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 'element.animate() with easing on last keyframe', | 86 'element.animate() with easing on last keyframe', |
87 { | 87 { |
88 help: 'http://dev.w3.org/fxtf/web-animations/#the-keyframe-dictionary', | 88 help: 'http://dev.w3.org/fxtf/web-animations/#the-keyframe-dictionary', |
89 assert: [ | 89 assert: [ |
90 'element.animate() should start an animation when keyframes are specified wi
th timing functions', | 90 'element.animate() should start an animation when keyframes are specified wi
th timing functions', |
91 'for their easing property. Easing on the last keyframes should have no effe
ct on the animation.', | 91 'for their easing property. Easing on the last keyframes should have no effe
ct on the animation.', |
92 ], | 92 ], |
93 author: 'Alan Cutter', | 93 author: 'Alan Cutter', |
94 }); | 94 }); |
95 </script> | 95 </script> |
OLD | NEW |