Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/select-empty-list.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <head> 1 <head>
2 <script> 2 <script>
3 function test() 3 function test()
4 { 4 {
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 if (window.eventSender) { 7 if (window.eventSender) {
8 eventSender.mouseMoveTo(20, 70); 8 eventSender.mouseMoveTo(20, 70);
9 eventSender.mouseDown(); 9 eventSender.mouseDown();
10 eventSender.mouseUp(); 10 eventSender.mouseUp();
11 } 11 }
12 } 12 }
13 13
14 function selectClicked() { 14 function selectClicked() {
15 var message = "Passed"; 15 var message = "Passed";
16 var paragraph = document.createElement('p'); 16 var paragraph = document.createElement('p');
17 paragraph.appendChild(document.createTextNode(message)); 17 paragraph.appendChild(document.createTextNode(message));
18 document.getElementById('console').appendChild(paragraph); 18 document.getElementById('console').appendChild(paragraph);
19 } 19 }
20 </script> 20 </script>
21 </head> 21 </head>
22 <body onload="test();"> 22 <body onload="test();">
23 <p>This tests clicking on an empty select. If successful, the console message sa ys Passed. See bug 11765. 23 <p>This tests clicking on an empty select. If successful, the console message sa ys Passed. See bug 11765.
24 <form> 24 <form>
25 <select onclick="selectClicked()" style="width:100px;height:100px;" id="select" size=2> 25 <select onclick="selectClicked()" style="width:100px;height:100px;" id="select" size=2>
26 </select> 26 </select>
27 </form> 27 </form>
28 <p id="console"></p> 28 <p id="console"></p>
29 </body> 29 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698