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

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

Powered by Google App Engine
This is Rietveld 408576698