layout/reftests/reftest-sanity/needs-focus.html

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:1f877ffe5af7
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <script type="text/javascript">
4 function focusInput() {
5 document.getElementById('i').focus();
6 }
7 function done() {
8 document.documentElement.className = '';
9 }
10 </script>
11 <body onload="focusInput();">
12 <input type="text" id="i" onfocus="done();">
13 </body>
14 </html>

mercurial