| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" onload="runRepaintTest()"> | 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" onload="runRepaintAndPixelTest()"> |
| 3 <script xlink:href="../../fast/repaint/resources/repaint.js"></script> | 3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></sc
ript> |
| 4 <title>There should be a single green 100x100 square.</title> | 4 <title>There should be a single green 100x100 square.</title> |
| 5 <defs> | 5 <defs> |
| 6 <rect id="notexistant" width="100" height="100" fill="green"/> | 6 <rect id="notexistant" width="100" height="100" fill="green"/> |
| 7 | 7 |
| 8 <filter id="filter"> | 8 <filter id="filter"> |
| 9 <feImage id="feimage" xlink:href="#rect"/> | 9 <feImage id="feimage" xlink:href="#rect"/> |
| 10 </filter> | 10 </filter> |
| 11 </defs> | 11 </defs> |
| 12 <rect x="0" y="0" width="100" height="100" filter="url(#filter)" /> | 12 <rect x="0" y="0" width="100" height="100" filter="url(#filter)" /> |
| 13 <script> | 13 <script> |
| 14 <![CDATA[ | 14 <![CDATA[ |
| 15 function repaintTest() { | 15 function repaintTest() { |
| 16 document.getElementById("notexistant").setAttribute("id", "rect"); | 16 document.getElementById("notexistant").setAttribute("id", "rect"); |
| 17 } | 17 } |
| 18 ]]> | 18 ]]> |
| 19 </script> | 19 </script> |
| 20 </svg> | 20 </svg> |
| OLD | NEW |