mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
d7528976b4
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
12 lines
341 B
HTML
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>
|