4 <script type="text/javascript">
7 document.body.offsetTop;
8 var field = document.getElementById('field');
13 <body onload="test()">
15 This is a test for <i><a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=9316">http://bugzilla.opendarwin.org/show_bug.cgi?id=9316</a>
16 REGRESSION: text field width shrinks on first keystroke</i>.
19 <div style="position: relative;">
20 <input id="field" style="width: 50%; float: left">