Fix for 3833123, setting a cell's colspan does not update rendering like it should.
[WebKit-https.git] / LayoutTests / fast / dynamic / 013.html
1 <html>
2 <head>
3   <title>Webmail links</title>
4   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
5
6   <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
7
8     <script type='text/javascript'>
9     <!--
10 function init_table() {
11
12         var myTable = window.document.getElementById("my_table");
13         var row;
14         var cell;
15
16         row = myTable.insertRow(0);
17
18         cell = row.insertCell(0);
19         cell.colSpan = 1;
20         cell.innerHTML = "span 1";
21
22         cell = row.insertCell(1);
23         cell.colSpan = 1;
24         cell.innerHTML = "span 1";
25
26         row = myTable.insertRow(1);
27
28         cell = row.insertCell(0);
29         cell.colSpan = 2;
30         cell.innerHTML = "should span 2";
31
32 }
33
34     //-->
35     </script>
36 </head>
37 <body onload="init_table()">
38
39         <table id='my_table' border='1' width='200px' height='200px' cellpadding='0' cellspacing='0'>
40         <tfoot>
41         </tfoot>
42           <tbody>
43           </tbody>
44         </table>
45
46 </body>
47 </html>