OLD | NEW |
| (Empty) |
1 <head> | |
2 <script> | |
3 function test() | |
4 { | |
5 if (window.testRunner) | |
6 testRunner.dumpAsText(); | |
7 if (window.eventSender) { | |
8 eventSender.mouseMoveTo(20, 70); | |
9 eventSender.mouseDown(); | |
10 eventSender.mouseUp(); | |
11 } | |
12 } | |
13 | |
14 function selectClicked() { | |
15 var message = "Passed"; | |
16 var paragraph = document.createElement('p'); | |
17 paragraph.appendChild(document.createTextNode(message)); | |
18 document.getElementById('console').appendChild(paragraph); | |
19 } | |
20 </script> | |
21 </head> | |
22 <body onload="test();"> | |
23 <p>This tests clicking on an empty select. If successful, the console message sa
ys Passed. See bug 11765. | |
24 <form> | |
25 <select onclick="selectClicked()" style="width:100px;height:100px;" id="select"
size=2> | |
26 </select> | |
27 </form> | |
28 <p id="console"></p> | |
29 </body> | |
OLD | NEW |