| OLD | NEW |
| 1 <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" onload="runTest
()"> | 1 <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" onload="runTest
()"> |
| 2 <rect x="10" y="10" width="180" height="180" fill="green"/> | 2 <rect x="10" y="10" width="180" height="180" fill="green"/> |
| 3 <rect transform="translate(200, 0)" x="10" y="10" width="180" height="180" f
ill="green"/> | 3 <rect transform="translate(200, 0)" x="10" y="10" width="180" height="180" f
ill="green"/> |
| 4 <script> | 4 <script> |
| 5 function runTest() { | 5 function runTest() { |
| 6 var svg = document.getElementsByTagName("svg")[0]; | 6 var svg = document.getElementsByTagName("svg")[0]; |
| 7 svg.setAttribute("width", "400"); | 7 svg.setAttribute("width", "400"); |
| 8 if (window.parent.finishRepaintTest) | |
| 9 parent.finishRepaintTest(); | |
| 10 } | 8 } |
| 11 </script> | 9 </script> |
| 12 </svg> | 10 </svg> |
| OLD | NEW |