Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script type="text/javascript">
5 function boom()
6 {
7 var col1 = document.getElementById("col1");
8 var parent = col1.parentNode;
9 var next = col1.nextSibling;
11 parent.removeChild(col1);
12 reflow();
13 parent.insertBefore(col1, next);
14 reflow();
15 col1.removeAttribute("width");
16 }
18 function reflow() { document.documentElement.offsetHeight; }
20 </script>
21 </head>
22 <body onload="boom();">
23 <table border="2" id="table">
24 <col width=100 id="col1">
25 <col width=200 id="col2">
26 <tr>
27 <td>100?</td><td>200</td>
28 </tr>
29 </table>
30 </body>
31 </html>