Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / floating-textfield-relayout.html
blobaa27963f27547f95b580f389cb030f8ca6b7a8ca
1 <html>
2 <head>
3 <title></title>
4 <script type="text/javascript">
5 function test()
7 document.body.offsetTop;
8 var field = document.getElementById('field');
9 field.value = "foo";
11 </script>
12 </head>
13 <body onload="test()">
14 <p>
15 This is a test for <i><a href="https://bugs.webkit.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>