| OLD | NEW |
| 1 <script src="../resources/testharness.js"></script> | 1 <script src="../../resources/testharness.js"></script> |
| 2 <script src="../resources/testharnessreport.js"></script> | 2 <script src="../../resources/testharnessreport.js"></script> |
| 3 <div id="target"></div> | 3 <div id="target"></div> |
| 4 <script> | 4 <script> |
| 5 test(() => { | 5 test(() => { |
| 6 target.style.left = '100px'; | 6 target.style.left = '100px'; |
| 7 var animation = target.animate([{easing: 'steps(2, start)'}, {left: '200px'}],
1000); | 7 var animation = target.animate([{easing: 'steps(2, start)'}, {left: '200px'}],
1000); |
| 8 animation.pause(); | 8 animation.pause(); |
| 9 animation.currentTime = 0; | 9 animation.currentTime = 0; |
| 10 assert_equals(getComputedStyle(target).left, '150px'); | 10 assert_equals(getComputedStyle(target).left, '150px'); |
| 11 }, 'Neutral keyframes should be able to specify their own keyframe timing functi
on.'); | 11 }, 'Neutral keyframes should be able to specify their own keyframe timing functi
on.'); |
| 12 </script> | 12 </script> |
| OLD | NEW |