Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select-accesskey.html
blob253ba998671aad147a32e639192cb206a5942fe3
1 <select accesskey='a' onfocus='document.getElementById("res1").innerHTML="PASS 1";' onclick='document.getElementById("res2").innerHTML="PASS 2";'>
2 <option>blaa
3 <option>jee
4 </select>
5 Press Ctrl-Option-A (or Alt-A on Windows) to activate the select. Works as layout test too using eventSender.
7 <div>
8 focus event:
9 <div id=res1>
10 FAIL
11 </div>
12 click event:
13 <div id=res2>
14 FAIL
15 </div>
16 <script>
17 if (window.eventSender) {
18 testRunner.dumpAsText();
20 var modifiers;
21 if (navigator.userAgent.search(/\bMac OS X\b/) != -1)
22 modifiers = ['ctrlKey', 'altKey'];
23 else
24 modifiers = ['altKey'];
25 eventSender.keyDown('a', modifiers);
27 </script>