| 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 | 4 |
| 5 <div id='container'> | 5 <div id='container'> |
| 6 <div id='element'></div> | 6 <div id='element'></div> |
| 7 </div> | 7 </div> |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 var element = document.getElementById('element'); | 10 var element = document.getElementById('element'); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 test(function() { | 93 test(function() { |
| 94 element.style.fontSize = '10px'; | 94 element.style.fontSize = '10px'; |
| 95 var player = element.animate([{wordSpacing: '3em'}, {wordSpacing: '5em'}], 1
0); | 95 var player = element.animate([{wordSpacing: '3em'}, {wordSpacing: '5em'}], 1
0); |
| 96 player.pause(); | 96 player.pause(); |
| 97 player.currentTime = 5; | 97 player.currentTime = 5; |
| 98 element.style.fontSize = '20px'; | 98 element.style.fontSize = '20px'; |
| 99 assert_equals(getComputedStyle(element).wordSpacing, '80px'); | 99 assert_equals(getComputedStyle(element).wordSpacing, '80px'); |
| 100 }, 'wordSpacing responsive to style changes'); | 100 }, 'wordSpacing responsive to style changes'); |
| 101 | 101 |
| 102 </script> | 102 </script> |
| OLD | NEW |