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.25', left: '25px', offset: 0}, | 8 {opacity: '0.25', left: '25px', offset: 0}, |
9 {opacity: '0.75', left: '75px'}, | 9 {opacity: '0.75', left: '75px'}, |
10 ], { | 10 ], { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 'element.animate() with 2 keyframes and 2 offsets specified', | 47 'element.animate() with 2 keyframes and 2 offsets specified', |
48 { | 48 { |
49 help: 'http://dev.w3.org/fxtf/web-animations/#keyframe-animation-effects', | 49 help: 'http://dev.w3.org/fxtf/web-animations/#keyframe-animation-effects', |
50 assert: [ | 50 assert: [ |
51 'element.animate() should start an animation when two keyframes', | 51 'element.animate() should start an animation when two keyframes', |
52 'are provided with matching properties and both offsets specified.', | 52 'are provided with matching properties and both offsets specified.', |
53 ], | 53 ], |
54 author: 'Alan Cutter', | 54 author: 'Alan Cutter', |
55 }); | 55 }); |
56 </script> | 56 </script> |
OLD | NEW |