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>Nothing should be rendered</title> | 4 <title>Nothing should be rendered</title> |
5 <defs> | 5 <defs> |
6 <rect id="rect" width="100" height="100" fill="green"/> | 6 <rect id="rect" 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 var rect = document.getElementById("rect"); | 16 var rect = document.getElementById("rect"); |
17 rect.parentNode.removeChild(rect); | 17 rect.parentNode.removeChild(rect); |
18 } | 18 } |
19 ]]> | 19 ]]> |
20 </script> | 20 </script> |
21 </svg> | 21 </svg> |
OLD | NEW |