| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../resources/testharness.js"></script> | 2 <script src="../../../resources/testharness.js"></script> |
| 3 <script src="../../resources/testharnessreport.js"></script> | 3 <script src="../../../resources/testharnessreport.js"></script> |
| 4 <div id="container"> | 4 <div id="container"> |
| 5 <div id="target"></div> | 5 <div id="target"></div> |
| 6 </div> | 6 </div> |
| 7 <script> | 7 <script> |
| 8 target.style.fontSize = '140px'; | 8 target.style.fontSize = '140px'; |
| 9 | 9 |
| 10 function assertAnimationValues(keyword, states) { | 10 function assertAnimationValues(keyword, states) { |
| 11 test(() => { | 11 test(() => { |
| 12 var animation = target.animate({fontSize: keyword}, 1); | 12 var animation = target.animate({fontSize: keyword}, 1); |
| 13 for ({inheritedValue, expectations} of states) { | 13 for ({inheritedValue, expectations} of states) { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 {at: 0.75, is: '110px'}, | 56 {at: 0.75, is: '110px'}, |
| 57 ], | 57 ], |
| 58 }, { | 58 }, { |
| 59 inheritedValue: '240px', | 59 inheritedValue: '240px', |
| 60 expectations: [ | 60 expectations: [ |
| 61 {at: 0.25, is: '155px'}, | 61 {at: 0.25, is: '155px'}, |
| 62 {at: 0.75, is: '185px'}, | 62 {at: 0.75, is: '185px'}, |
| 63 ], | 63 ], |
| 64 }]); | 64 }]); |
| 65 </script> | 65 </script> |
| OLD | NEW |