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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select-listbox-focus-displaynone.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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4
5 <select id="multiselect" multiple="multiple">
6 <option id="optiona">a</option>
7 <option>b</option>
8 </select>
9 <input id="selectable">
10
11 <script>
12 if (window.testRunner)
13 window.testRunner.dumpAsText();
14
15 var selectable = document.getElementById('selectable');
16 var multiselect = document.getElementById('multiselect');
17 selectable.focus();
18 selectable.onblur = function() {
19 multiselect.style.display='none';
20 document.write('PASS');
21 };
22
23 if (window.eventSender) {
24 eventSender.mouseMoveTo(multiselect.offsetLeft + 5, multiselect.offsetTop + 5);
25 eventSender.mouseDown();
26 eventSender.mouseUp();
27 } else {
28 document.write("To manually test, click on the 'a' option");
29 }
30 </script>
31
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698