Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <script type="text/javascript"> |
michael@0 | 5 | function boom() |
michael@0 | 6 | { |
michael@0 | 7 | var col1 = document.getElementById("col1"); |
michael@0 | 8 | var parent = col1.parentNode; |
michael@0 | 9 | var next = col1.nextSibling; |
michael@0 | 10 | |
michael@0 | 11 | parent.removeChild(col1); |
michael@0 | 12 | reflow(); |
michael@0 | 13 | parent.insertBefore(col1, next); |
michael@0 | 14 | reflow(); |
michael@0 | 15 | col1.removeAttribute("width"); |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | function reflow() { document.documentElement.offsetHeight; } |
michael@0 | 19 | |
michael@0 | 20 | </script> |
michael@0 | 21 | </head> |
michael@0 | 22 | <body onload="boom();"> |
michael@0 | 23 | <table border="2" id="table"> |
michael@0 | 24 | <col width=100 id="col1"> |
michael@0 | 25 | <col width=200 id="col2"> |
michael@0 | 26 | <tr> |
michael@0 | 27 | <td>100?</td><td>200</td> |
michael@0 | 28 | </tr> |
michael@0 | 29 | </table> |
michael@0 | 30 | </body> |
michael@0 | 31 | </html> |