| OLD | NEW |
| 1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> | 1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> |
| 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/R
EC-SVG-20010904/DTD/svg10.dtd"> | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/R
EC-SVG-20010904/DTD/svg10.dtd"> |
| 3 <svg width="450" height="450" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht
tp://www.w3.org/1999/xlink" onload="runRepaintTest()"> | 3 <svg width="450" height="450" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht
tp://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> |
| 4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> | 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
| 5 <script> | 5 <script> |
| 6 function repaintTest() { | 6 function repaintTest() { |
| 7 document.getElementsByTagName("g")[0].setAttribute("stroke-width", "0"); | 7 document.getElementsByTagName("g")[0].setAttribute("stroke-width", "0"); |
| 8 } | 8 } |
| 9 </script> | 9 </script> |
| 10 | 10 |
| 11 <g fill="green" stroke-width="0.2cm" stroke="red" onclick="mouseHandler(evt)"> | 11 <g fill="green" stroke-width="0.2cm" stroke="red" onclick="mouseHandler(evt)"> |
| 12 <rect x="10" y="10" width="150" height="50"/> | 12 <rect x="10" y="10" width="150" height="50"/> |
| 13 <rect x="10" y="70" width="150" height="50"/> | 13 <rect x="10" y="70" width="150" height="50"/> |
| 14 <rect x="10" y="130" width="150" height="50"/> | 14 <rect x="10" y="130" width="150" height="50"/> |
| 15 <rect x="10" y="190" width="150" height="50"/> | 15 <rect x="10" y="190" width="150" height="50"/> |
| 16 </g> | 16 </g> |
| 17 | 17 |
| 18 </svg> | 18 </svg> |
| OLD | NEW |