OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or
g/TR/html4/loose.dtd"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or
g/TR/html4/loose.dtd"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title></title> | 4 <title></title> |
5 <style type="text/css"> | 5 <style type="text/css"> |
6 td { padding: 20px; background: lightgreen; } | 6 td { padding: 20px; background: lightgreen; } |
7 </style> | 7 </style> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <p>The top table was resized while the field’s contents | 10 <p>The top table was resized while the field’s contents |
11 were selected.</p> | 11 were selected.</p> |
12 <table> | 12 <table> |
13 <tr> | 13 <tr> |
14 <td id="cell"> | 14 <td id="cell"> |
15 <input value="foo bar" id="t"> | 15 <input value="foo bar" id="t"> |
16 </td> | 16 </td> |
17 </tr> | 17 </tr> |
18 </table> | 18 </table> |
19 | 19 |
20 <table> | 20 <table> |
21 <tr> | 21 <tr> |
22 <td style="height: 200px;"> | 22 <td style="height: 200px;"> |
23 <input value="foo bar"> | 23 <input value="foo bar"> |
24 </td> | 24 </td> |
25 </tr> | 25 </tr> |
26 </table> | 26 </table> |
27 </body> | 27 </body> |
28 <script type="text/javascript"> | 28 <script type="text/javascript"> |
29 document.getElementById('t').focus(); | 29 document.getElementById('t').select(); |
30 document.getElementById('cell').style.height = "200px"; | 30 document.getElementById('cell').style.height = "200px"; |
31 </script> | 31 </script> |
32 </html> | 32 </html> |
OLD | NEW |