| 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 | 3 |
| 4 <svg> | 4 <svg> |
| 5 <rect id="target"/> | 5 <rect id="target"/> |
| 6 </svg> | 6 </svg> |
| 7 | 7 |
| 8 <script> | 8 <script> |
| 9 test(() => { | 9 test(() => { |
| 10 target.animate({color: 'green'}, {fill: 'forwards'}); | 10 target.animate({color: 'green'}, {fill: 'forwards'}); |
| 11 target.animate({'svg-color': 'red'}, {fill: 'forwards'}); | 11 target.animate({'svg-color': 'red'}, {fill: 'forwards'}); |
| 12 assert_equals(getComputedStyle(target).color, 'rgb(0, 128, 0)'); | 12 assert_equals(getComputedStyle(target).color, 'rgb(0, 128, 0)'); |
| 13 }, 'CSS animations always override SVG presentation attribute animations'); | 13 }, 'CSS animations always override SVG presentation attribute animations'); |
| 14 </script> | 14 </script> |
| OLD | NEW |