Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / forms / input-double-click-selection-gap-bug.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3         <head>
4                 <title></title>
5         <style type="text/css">
6             td          { padding: 20px; background: lightgreen; }
7         </style>
8         </head>
9     <body>
10         <p>The top table was resized while the field&rsquo;s contents
11         were selected.</p>
12             <table>
13                 <tr>
14                     <td id="cell">
15                         <input value="foo bar" id="t">
16                     </td>
17                 </tr>
18             </table>
19
20             <table>
21                 <tr>
22                     <td style="height: 200px;">
23                         <input value="foo bar">
24                     </td>
25                 </tr>
26             </table>
27     </body>
28     <script type="text/javascript">
29         document.getElementById('t').select();
30         document.getElementById('cell').style.height = "200px";
31     </script>
32 </html>