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 | div.spacer {width:20px; height: 20px;} |
michael@0 | 6 | table {background-color: lime;} |
michael@0 | 7 | td {background-color: green;} |
michael@0 | 8 | </style> |
michael@0 | 9 | <script> |
michael@0 | 10 | function testIt() { |
michael@0 | 11 | document.body.offsetWidth; |
michael@0 | 12 | var table = document.getElementsByTagName("TABLE")[0]; |
michael@0 | 13 | table.setAttribute("cellpadding", "30px"); |
michael@0 | 14 | } |
michael@0 | 15 | </script> |
michael@0 | 16 | </head> |
michael@0 | 17 | <body onload="testIt();"> |
michael@0 | 18 | <table><tr> |
michael@0 | 19 | <td> <div class="spacer"></div> </td></tr> |
michael@0 | 20 | </table> |
michael@0 | 21 | </body> |
michael@0 | 22 | </html> |