Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style> |
michael@0 | 5 | table { background: white } |
michael@0 | 6 | col { background: green } |
michael@0 | 7 | td { color: white } |
michael@0 | 8 | </style> |
michael@0 | 9 | </head> |
michael@0 | 10 | <body onload="runTest()"> |
michael@0 | 11 | <table> |
michael@0 | 12 | <col id="x" span="3"> |
michael@0 | 13 | <tr> |
michael@0 | 14 | <td>One</td> |
michael@0 | 15 | <td>Two</td> |
michael@0 | 16 | <td>Three</td> |
michael@0 | 17 | </tr> |
michael@0 | 18 | </table> |
michael@0 | 19 | |
michael@0 | 20 | <script> |
michael@0 | 21 | function runTest() { |
michael@0 | 22 | document.body.offsetWidth; |
michael@0 | 23 | document.getElementById("x").setAttribute("span", 2); |
michael@0 | 24 | } |
michael@0 | 25 | </script> |
michael@0 | 26 | </body> |
michael@0 | 27 | </html> |