Reviewed by Darin, landed by ap.
[WebKit-https.git] / LayoutTests / fast / forms / floating-textfield-relayout.html
1 <html>
2 <head>
3     <title></title>
4     <script type="text/javascript">
5         function test()
6         {
7             document.body.offsetTop;
8             var field = document.getElementById('field');
9             field.value = "foo";
10         }
11     </script>
12 </head>
13 <body onload="test()">
14     <p>
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>.
17     </p>
18     <hr>
19     <div style="position: relative;">
20         <input id="field" style="width: 50%; float: left">
21     </div>
22 </body>