Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / dom / insertCellsRebuild1.html
blobaa90c572b605b9b056f5f973b929fc85558188ec
1 <HEAD>
2 <SCRIPT src=tableDom.js>
3 </SCRIPT>
4 <SCRIPT>
6 function doIt() {
7 insertCellAt(0, 1, 2, 2);
8 insertCellAt(7, 1, 1, 1);
10 </SCRIPT>
11 </HEAD>
12 <BODY onload="doIt()">
13 The 2 tables should look the same
14 <table bgcolor=orange border>
15 <tr>
16 <td>c11</td><td>c12</td>
17 </tr>
18 <tr>
19 <td colspan=2>c21</td><td>c22</td>
20 </tr>
21 <tr>
22 <td>c31</td><td>c32</td><td>c33</td><td>c34</td>
23 </tr>
24 </table>
25 <BR>
26 <table bgcolor=orange border>
27 <tr>
28 <td>c11</td><td rowspan=2 colspan=2>X1</td><td>c12</td>
29 </tr>
30 <tr>
31 <td colspan=2>c21</td><td>c22</td>
32 </tr>
33 <tr>
34 <td>c31</td><td>c32</td><td>c33</td><td>c34</td>
35 </tr>
36 </table>
38 <BR>
39 The 2 tables should look the same
40 <table bgcolor=orange border>
41 <tr>
42 <td>c11</td><td>c12</td><td rowspan=2>c13</td>
43 </tr>
44 <tr>
45 <td>c21</td><td>c22</td>
46 </tr>
47 <tr>
48 <td>c31</td><td>c32</td><td>c33</td>
49 </tr>
50 </table>
51 <BR>
52 <table bgcolor=orange border>
53 <tr>
54 <td>c11</td><td>c12</td><td rowspan=2>c13</td>
55 </tr>
56 <tr>
57 <td>c21</td><td>X1</td><td>c22</td>
58 </tr>
59 <tr>
60 <td>c31</td><td>c32</td><td>c33</td>
61 </tr>
62 </table>
64 </BODY></HTML>