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-accesskey.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 <select accesskey='a' 1 <select accesskey='a'
2 onfocus='document.getElementById("res1").innerHTML="PASS 1";' 2 onfocus='document.getElementById("res1").innerHTML="PASS 1";'
3 onclick='document.getElementById("res2").innerHTML="PASS 2";'> 3 onclick='document.getElementById("res2").innerHTML="PASS 2";'>
4 <option>blaa 4 <option>blaa
5 <option>jee 5 <option>jee
6 </select> 6 </select>
7 Press Ctrl-Option-A (or Alt-A on Windows) to activate the select. Works as layou t test too using eventSender. 7 Press Ctrl-Option-A (or Alt-A on Windows) to activate the select. Works as layou t test too using eventSender.
8 8
9 <div> 9 <div>
10 focus event: 10 focus event:
11 <div id=res1> 11 <div id=res1>
12 FAIL 12 FAIL
13 </div> 13 </div>
14 click event: 14 click event:
15 <div id=res2> 15 <div id=res2>
16 FAIL 16 FAIL
17 </div> 17 </div>
18 <script> 18 <script>
19 if (window.eventSender) { 19 if (window.eventSender) {
20 testRunner.dumpAsText(); 20 testRunner.dumpAsText();
21 eventSender.keyDown('a', 'accessKey'); 21 eventSender.keyDown('a', 'accessKey');
22 } 22 }
23 </script> 23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698