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 | <script> |
michael@0 | 5 | function test() { |
michael@0 | 6 | var div = document.createElement("div"); |
michael@0 | 7 | div.appendChild(document.createTextNode("text")); |
michael@0 | 8 | document.body.appendChild(div); |
michael@0 | 9 | } |
michael@0 | 10 | </script> |
michael@0 | 11 | </head> |
michael@0 | 12 | <body style="margin: 0; padding: 0; border: 0"> |
michael@0 | 13 | <script> |
michael@0 | 14 | document.body.offsetWidth; |
michael@0 | 15 | test(); |
michael@0 | 16 | </script> |
michael@0 | 17 | </body> |
michael@0 | 18 | </html> |