| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/
SVG/1.1/DTD/svg11-tiny.dtd"> | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/
SVG/1.1/DTD/svg11-tiny.dtd"> |
| 3 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:
xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" o
nload="runRepaintTest()"> | 3 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:
xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" o
nload="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/ecmascript"><![CDATA[ | 5 <script type="text/ecmascript"><![CDATA[ |
| 6 var states = []; | 6 var states = []; |
| 7 var clicked; | 7 var clicked; |
| 8 function testClickAt(x, y) { | 8 function testClickAt(x, y) { |
| 9 eventSender.mouseMoveTo(x, y); | 9 eventSender.mouseMoveTo(x, y); |
| 10 eventSender.mouseDown(); | 10 eventSender.mouseDown(); |
| 11 eventSender.mouseUp(); | 11 eventSender.mouseUp(); |
| 12 states.push(clicked); | 12 states.push(clicked); |
| 13 clicked = false; | 13 clicked = false; |
| 14 } | 14 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 39 ]]></script> | 39 ]]></script> |
| 40 <defs> | 40 <defs> |
| 41 <symbol id="buttonRect" overflow="hidden"> | 41 <symbol id="buttonRect" overflow="hidden"> |
| 42 <rect x="-70" y="-10" width="140" height="20" fill="gainsboro" strok
e="dimgray" stroke-width="1" /> | 42 <rect x="-70" y="-10" width="140" height="20" fill="gainsboro" strok
e="dimgray" stroke-width="1" /> |
| 43 </symbol> | 43 </symbol> |
| 44 </defs> | 44 </defs> |
| 45 <use x="100" y="50" onmousedown="clicked=true;" xlink:href="#buttonRect"/> | 45 <use x="100" y="50" onmousedown="clicked=true;" xlink:href="#buttonRect"/> |
| 46 <text id="status" x="90" y="130">Unknown</text> | 46 <text id="status" x="90" y="130">Unknown</text> |
| 47 </svg> | 47 </svg> |
| 48 | 48 |
| OLD | NEW |