| 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="rect" width="1" height="100" fill="green"/> | 6 <rect id="rect" width="1" height="100" fill="green"/> |
| 7 | 7 |
| 8 <filter id="image1"> | 8 <filter id="image1"> |
| 9 <feImage id="feimage1" xlink:href="#rect" /> | 9 <feImage id="feimage1" xlink:href="#rect" /> |
| 10 </filter> | 10 </filter> |
| 11 | 11 |
| 12 <filter id="image2"> | 12 <filter id="image2"> |
| 13 <feImage id="feimage2" xlink:href="#rect" /> | 13 <feImage id="feimage2" xlink:href="#rect" /> |
| 14 </filter> | 14 </filter> |
| 15 </defs> | 15 </defs> |
| 16 <rect x="0" y="0" width="50" height="100" filter="url(#image1)" /> | 16 <rect x="0" y="0" width="50" height="100" filter="url(#image1)" /> |
| 17 <rect x="50" y="0" width="50" height="100" filter="url(#image2)" /> | 17 <rect x="50" y="0" width="50" height="100" filter="url(#image2)" /> |
| 18 <script> | 18 <script> |
| 19 <![CDATA[ | 19 <![CDATA[ |
| 20 function repaintTest() { | 20 function repaintTest() { |
| 21 document.getElementById("rect").setAttribute("width", "100"); | 21 document.getElementById("rect").setAttribute("width", "100"); |
| 22 } | 22 } |
| 23 ]]> | 23 ]]> |
| 24 </script> | 24 </script> |
| 25 </svg> | 25 </svg> |
| OLD | NEW |