Backed out 4 changesets (bug 1861985, bug 1860958, bug 1865364) for causing bustage...
[gecko.git] / layout / tables / reftests / 1220621-1b.html
blob82ab75544f868164c33092b6ec499142edf0360d
1 <!DOCTYPE html>
2 <style>
3 table {
4 table-layout: fixed;
5 border: 1px solid black;
6 width: 300px;
8 td {
9 background: yellow;
10 border: 1px solid purple;
12 </style>
13 <table>
14 <colgroup>
15 <col>
16 <col>
17 <col>
18 </colgroup>
19 <tbody>
20 <td>One</td>
21 <td>Two</td>
22 <td>Three</td>
23 </tbody>
24 </table>
25 <script>
26 var t = document.querySelector("table");
27 // Flush layout
28 var width = t.offsetWidth;
29 // Remove the first col
30 document.querySelector("col").remove();
31 </script>