gecko-dev/layout/base/tests/bug612271-ref.html
Ehsan Akhgari d7528976b4 Bug 629145 - Part 2: Fix incorrect assumptions about autofocus; r,a=roc
autofocus element will be focused after the load event is fired.  This patch changes
the tests to focus the desired elements at the load event explicitly.

--HG--
extra : rebase_source : e7d11185532576d3edd47cb0df4e01b21b232ade
2011-01-27 00:26:33 -05:00

12 lines
341 B
HTML

<!DOCTYPE HTML><html><head>
<script type="text/javascript" src="/MochiKit/packed.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
</head>
<body onload="document.querySelector('textarea').focus()">
<textarea style="height: 200px; display: block;"
>foo
</textarea>
4 - 4
</body>
</html>