OLD | NEW |
1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> | 1 <?xml version="1.0" encoding="ISO-8859-1" 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 width="450" height="450" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht
tp://www.w3.org/1999/xlink" onload="runRepaintTest()"> | 3 <svg width="450" height="450" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht
tp://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> |
4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> | 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
5 <script> | 5 <script> |
6 function repaintTest() { | 6 function repaintTest() { |
7 var path = document.getElementById("path"); | 7 var path = document.getElementById("path"); |
8 path.pathSegList.removeItem(path.pathSegList.numberOfItems - 1); | 8 path.pathSegList.removeItem(path.pathSegList.numberOfItems - 1); |
9 } | 9 } |
10 </script> | 10 </script> |
11 | 11 |
12 <path id="path" fill="#FF0000" stroke="#00C000" d="M 250 130 C 185 130 150 80 15
0 80 S 115 25 50 25 m 0 105 c 65 0 100 -50 100 -50 s 35 -55 100 -55"/> | 12 <path id="path" fill="#FF0000" stroke="#00C000" d="M 250 130 C 185 130 150 80 15
0 80 S 115 25 50 25 m 0 105 c 65 0 100 -50 100 -50 s 35 -55 100 -55"/> |
13 | 13 |
14 </svg> | 14 </svg> |
OLD | NEW |