| 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'}, | 8 {opacity: '0', left: '0px'}, |
| 9 {opacity: '0.5', left: '50px', offset: 0.5}, | 9 {opacity: '0.5', left: '50px', offset: 0.5}, |
| 10 {opacity: '0', left: '0px', offset: 0.5}, | 10 {opacity: '0', left: '0px', offset: 0.5}, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 { | 43 { |
| 44 help: 'http://dev.w3.org/fxtf/web-animations/#the-unaccumulated-animation-valu
e-of-a-keyframe-animation-effect', | 44 help: 'http://dev.w3.org/fxtf/web-animations/#the-unaccumulated-animation-valu
e-of-a-keyframe-animation-effect', |
| 45 assert: [ | 45 assert: [ |
| 46 'element.animate() should start an animation when keyframes have equal offse
t values.', | 46 'element.animate() should start an animation when keyframes have equal offse
t values.', |
| 47 'If the properties of the equal offset keyframes are disjoint then the anima
tion should', | 47 'If the properties of the equal offset keyframes are disjoint then the anima
tion should', |
| 48 'be equivalent to having a single keyframe at that offset (assuming the easi
ngs are equal too).', | 48 'be equivalent to having a single keyframe at that offset (assuming the easi
ngs are equal too).', |
| 49 ], | 49 ], |
| 50 author: 'Alan Cutter', | 50 author: 'Alan Cutter', |
| 51 }); | 51 }); |
| 52 </script> | 52 </script> |
| OLD | NEW |