[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.22
[framework/web/webkit-efl.git] / LayoutTests / fast / events / anchor-empty-focus.html
1 <html>
2    <head>
3       <script>
4          function test()
5          {
6             document.getElementById("anch").focus();
7             if (window.layoutTestController) {
8                 layoutTestController.dumpAsText();
9                 eventSender.keyDown('s');
10             }
11          }
12       </script>
13    </head>
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>
17     <br>
18     <pre id="console">TEST FAILED</pre>
19     </body>
20 </html>