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="250" height="265" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht
tp://www.w3.org/1999/xlink" onload="runRepaintTest()"> | 3 <svg width="250" height="265" 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 type="text/ecmascript"><![CDATA[ | 5 <script type="text/ecmascript"><![CDATA[ |
6 function repaintTest() { | 6 function repaintTest() { |
7 if (window.eventSender) { | 7 if (window.eventSender) { |
8 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
9 eventSender.mouseMoveTo(20, 20); | 9 eventSender.mouseMoveTo(20, 20); |
10 eventSender.mouseDown(); | 10 eventSender.mouseDown(); |
11 eventSender.mouseUp(); | 11 eventSender.mouseUp(); |
12 | 12 |
13 eventSender.mouseMoveTo(20, 80); | 13 eventSender.mouseMoveTo(20, 80); |
14 eventSender.mouseDown(); | 14 eventSender.mouseDown(); |
(...skipping 22 matching lines...) Expand all Loading... |
37 } | 37 } |
38 ]]></script> | 38 ]]></script> |
39 | 39 |
40 <g style="fill:red; stroke:navy"> | 40 <g style="fill:red; stroke:navy"> |
41 <rect id="target1" x="10" y="10" width="150" height="50" onmousedown="mouseH
andler(evt)"/> | 41 <rect id="target1" x="10" y="10" width="150" height="50" onmousedown="mouseH
andler(evt)"/> |
42 <rect id="target2" x="10" y="70" width="150" height="50" onmouseup="mouseHan
dler(evt)"/> | 42 <rect id="target2" x="10" y="70" width="150" height="50" onmouseup="mouseHan
dler(evt)"/> |
43 <rect id="target3" x="10" y="130" width="150" height="50" onmousemove="mouse
Handler(evt)"/> | 43 <rect id="target3" x="10" y="130" width="150" height="50" onmousemove="mouse
Handler(evt)"/> |
44 <rect id="target4" x="10" y="190" width="150" height="50" onmouseout="mouseH
andlerLast(evt)"/> | 44 <rect id="target4" x="10" y="190" width="150" height="50" onmouseout="mouseH
andlerLast(evt)"/> |
45 </g> | 45 </g> |
46 </svg> | 46 </svg> |
OLD | NEW |