gecko/layout/base/tests/bug613807-1-ref.html
Ehsan Akhgari 2c692900a2 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

7 lines
136 B
HTML

<!DOCTYPE HTML>
<html>
<body onload="document.querySelector('textarea').focus()">
<textarea id="t" rows="4"></textarea>
</body>
</html>