OLD | NEW |
1 <html> | 1 <html> |
2 | 2 |
3 <head> | 3 <head> |
4 | 4 |
5 <script> | 5 <script> |
6 | 6 |
7 function runTest() | 7 function runTest() |
8 { | 8 { |
9 if (!window.eventSender) | 9 if (!window.eventSender) |
10 return; | 10 return; |
11 | 11 |
12 testRunner.dumpAsText(); | 12 testRunner.dumpAsText(); |
13 | 13 |
14 // Mouse events only work after an initial layout | |
15 document.body.offsetLeft; | |
16 | |
17 eventSender.mouseMoveTo(340, 140); | 14 eventSender.mouseMoveTo(340, 140); |
18 eventSender.mouseDown(); | 15 eventSender.mouseDown(); |
19 eventSender.mouseUp(); | 16 eventSender.mouseUp(); |
20 } | 17 } |
21 | 18 |
22 function setResult(message) | 19 function setResult(message) |
23 { | 20 { |
24 document.getElementById('result').firstChild.data = message; | 21 document.getElementById('result').firstChild.data = message; |
25 } | 22 } |
26 | 23 |
(...skipping 11 matching lines...) Expand all Loading... |
38 | 35 |
39 <hr> | 36 <hr> |
40 | 37 |
41 <p>This tests that client side image maps still work when zooming is in effect.<
/p> | 38 <p>This tests that client side image maps still work when zooming is in effect.<
/p> |
42 | 39 |
43 <div id="result">TEST NOT RUN</div> | 40 <div id="result">TEST NOT RUN</div> |
44 | 41 |
45 </body> | 42 </body> |
46 | 43 |
47 </html> | 44 </html> |
OLD | NEW |