| OLD | NEW |
| 1 <?xml version="1.0" standalone="no"?> | 1 <?xml version="1.0" 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 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" viewBox="0 0 250 250" onload="runRepaintTest()"> | 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" viewBox="0 0 250 250" onload="runRepaintAndPixelTest()"> |
| 4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> | 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
| 5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
| 6 <![CDATA[ | 6 <![CDATA[ |
| 7 function repaintTest() { | 7 function repaintTest() { |
| 8 var elem = document.getElementById('use'); | 8 var elem = document.getElementById('use'); |
| 9 elem.setAttributeNS(null,'display','inline'); | 9 elem.setAttributeNS(null,'display','inline'); |
| 10 | 10 |
| 11 if (window.testRunner) | 11 if (window.testRunner) |
| 12 testRunner.waitUntilDone(); | 12 testRunner.waitUntilDone(); |
| 13 window.setTimeout("step2()", 0); | 13 window.setTimeout("step2()", 0); |
| 14 } | 14 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 39 </g> | 39 </g> |
| 40 <g transform="matrix(1 0 0 1 10 70)"> | 40 <g transform="matrix(1 0 0 1 10 70)"> |
| 41 <text font-family="'Courier'" font-size="12"> | 41 <text font-family="'Courier'" font-size="12"> |
| 42 | 42 |
| 43 <tspan x="0" y="0">For this test case to be successful, the</tspan> | 43 <tspan x="0" y="0">For this test case to be successful, the</tspan> |
| 44 <tspan x="0" y="15">box above must show text and a circle. </tspan> | 44 <tspan x="0" y="15">box above must show text and a circle. </tspan> |
| 45 <tspan x="0" y="30">Bug 14927</tspan> | 45 <tspan x="0" y="30">Bug 14927</tspan> |
| 46 </text> | 46 </text> |
| 47 </g> | 47 </g> |
| 48 </svg> | 48 </svg> |
| OLD | NEW |