OLD | NEW |
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" | 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" |
2 style="width:300px;height:400px" onload="runRepaintTest()"> | 2 style="width:300px;height:400px" onload="runRepaintAndPixelTest()"> |
3 | 3 |
4 <script xlink:href="../../fast/repaint/resources/repaint.js"></script> | 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></script
> |
5 <!-- This tests filters failing to refresh after the initial rendering | 5 <!-- This tests filters failing to refresh after the initial rendering |
6 (https://bugs.webkit.org/show_bug.cgi?id=53088). | 6 (https://bugs.webkit.org/show_bug.cgi?id=53088). |
7 There should be no red squares in the output. --> | 7 There should be no red squares in the output. --> |
8 | 8 |
9 <defs> | 9 <defs> |
10 <filter id="simple" x="0" y="0"> | 10 <filter id="simple" x="0" y="0"> |
11 <feOffset in="SourceGraphic" dx="0" dy="0" /> | 11 <feOffset in="SourceGraphic" dx="0" dy="0" /> |
12 </filter> | 12 </filter> |
13 | 13 |
14 <filter id="animated" x="0" y="0"> | 14 <filter id="animated" x="0" y="0"> |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 function repaintTest() { | 107 function repaintTest() { |
108 for (var i=0; i<elements.length; ++i) { | 108 for (var i=0; i<elements.length; ++i) { |
109 elements[i].setAttribute('fill', 'green'); | 109 elements[i].setAttribute('fill', 'green'); |
110 } | 110 } |
111 | 111 |
112 document.getElementById('filtered').setAttribute('filter', 'url(#toGreen)'
); | 112 document.getElementById('filtered').setAttribute('filter', 'url(#toGreen)'
); |
113 } | 113 } |
114 ]]></script> | 114 ]]></script> |
115 | 115 |
116 </svg> | 116 </svg> |
OLD | NEW |