| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html> | |
| <head> | |
| <title></title> | |
| <style type="text/css"> | |
| td { padding: 20px; background: lightgreen; } | |
| </style> | |
| </head> | |
| <body> | |
| <p>The top table was resized while the field’s contents | |
| were selected.</p> | |
| <table> | |
| <tr> | |
| <td id="cell"> | |
| <input value="foo bar" id="t"> | |
| </td> | |
| </tr> | |
| </table> | |
| <table> | |
| <tr> | |
| <td style="height: 200px;"> | |
| <input value="foo bar"> | |
| </td> | |
| </tr> | |
| </table> | |
| </body> | |
| <script type="text/javascript"> | |
| document.getElementById('t').focus(); | |
| document.getElementById('cell').style.height = "200px"; | |
| </script> | |
| </html> |