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 var keyframeA = {opacity: '0.5', left: '50px'}; | 6 var keyframeA = {opacity: '0.5', left: '50px'}; |
7 var keyframeB = {opacity: '0', left: '0px'}; | 7 var keyframeB = {opacity: '0', left: '0px'}; |
8 var keyframeC = {opacity: '0.75', left: '75px'}; | 8 var keyframeC = {opacity: '0.75', left: '75px'}; |
9 | 9 |
10 var keyframeBExpectations = { | 10 var keyframeBExpectations = { |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 help: 'http://dev.w3.org/fxtf/web-animations/#keyframe-animation-effects', | 138 help: 'http://dev.w3.org/fxtf/web-animations/#keyframe-animation-effects', |
139 assert: [ | 139 assert: [ |
140 'element.animate() should start an animation when three keyframes', | 140 'element.animate() should start an animation when three keyframes', |
141 'are provided with matching properties and all offsets specified.', | 141 'are provided with matching properties and all offsets specified.', |
142 'The keyframes must maintain their ordering and get distributed', | 142 'The keyframes must maintain their ordering and get distributed', |
143 'correctly.', | 143 'correctly.', |
144 ], | 144 ], |
145 author: 'Alan Cutter', | 145 author: 'Alan Cutter', |
146 }); | 146 }); |
147 </script> | 147 </script> |
OLD | NEW |