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 | <body> |
michael@0 | 4 | |
michael@0 | 5 | <table id="theTable" border="1"> |
michael@0 | 6 | <thead id="thead"> |
michael@0 | 7 | <tr><th>Header</th></tr> |
michael@0 | 8 | </thead> |
michael@0 | 9 | <tfoot id="tfoot"><tr><th>Footer</th></tr></tfoot> |
michael@0 | 10 | <tbody><tr><td id="body">BODY</td></tr></tbody> |
michael@0 | 11 | </table> |
michael@0 | 12 | |
michael@0 | 13 | <script> |
michael@0 | 14 | var style = document.getElementById('tfoot').style; |
michael@0 | 15 | style.display = "none"; |
michael@0 | 16 | document.body.offsetWidth; |
michael@0 | 17 | style.display = "table-footer-group"; |
michael@0 | 18 | document.body.offsetWidth; |
michael@0 | 19 | style.display = "none"; |
michael@0 | 20 | </script> |
michael@0 | 21 | |
michael@0 | 22 | </body> |
michael@0 | 23 | </html> |