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" width="800" height="600" onload="runRepaintTest()"> | 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" width="800" height="600" onload="runRepaintAndPixelTest()"> |
4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> | 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
5 <script><![CDATA[ | 5 <script><![CDATA[ |
6 function repaintTest() { | 6 function repaintTest() { |
7 bounce = document.getElementById("bounce"); | 7 bounce = document.getElementById("bounce"); |
8 bounce.setAttribute("transform", "translate(100,100)"); | 8 bounce.setAttribute("transform", "translate(100,100)"); |
9 bounce.setAttribute("opacity", "0.5"); | 9 bounce.setAttribute("opacity", "0.5"); |
10 } | 10 } |
11 ]]></script> | 11 ]]></script> |
12 | 12 |
13 <circle id="bounce" cx="35" cy="35" r="30" style="fill:navy;stroke:red;strok
e-width:5px;"/> | 13 <circle id="bounce" cx="35" cy="35" r="30" style="fill:navy;stroke:red;strok
e-width:5px;"/> |
14 </svg> | 14 </svg> |
OLD | NEW |