6 document.getElementById("anch").focus();
7 if (window.layoutTestController) {
8 layoutTestController.dumpAsText();
9 eventSender.keyDown('s');
14 <body onload="test()">
15 This tests that focus() works on an empty anchor.<br>
16 <a id="anch" href="#" onkeydown="document.getElementById('console').innerText = 'TEST PASSED'"></a>
18 <pre id="console">TEST FAILED</pre>