1 <select accesskey='a' onfocus='document.getElementById(
"res1").
innerHTML=
"PASS 1";' onclick='document.getElementById(
"res2").
innerHTML=
"PASS 2";'
>
5 Press Ctrl-Option-A (or Alt-A on Windows) to activate the select. Works as layout test too using eventSender.
17 if (window
.eventSender
) {
18 testRunner
.dumpAsText();
21 if (navigator
.userAgent
.search(/\bMac OS X\b/) != -1)
22 modifiers
= ['ctrlKey', 'altKey'];
24 modifiers
= ['altKey'];
25 eventSender
.keyDown('a', modifiers
);