Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <html> |
michael@0 | 2 | <head><style> |
michael@0 | 3 | body { |
michael@0 | 4 | margin: 0px; |
michael@0 | 5 | } |
michael@0 | 6 | span.a { |
michael@0 | 7 | position: absolute; |
michael@0 | 8 | width: 100px; |
michael@0 | 9 | height: 100px; |
michael@0 | 10 | border: 1px solid black; |
michael@0 | 11 | overflow: hidden; |
michael@0 | 12 | } |
michael@0 | 13 | </style></head> |
michael@0 | 14 | <body> |
michael@0 | 15 | <!-- Note: This variant testcase (with no whitespace --> |
michael@0 | 16 | <!-- between </script> and <div>) only reproduces the --> |
michael@0 | 17 | <!-- bug on nightlies after May 1st, 2005. --> |
michael@0 | 18 | <script>document.body.offsetHeight;</script |
michael@0 | 19 | ><div style="padding: 100px;"> |
michael@0 | 20 | <span style="position: relative;"> |
michael@0 | 21 | <span class="a"></span> |
michael@0 | 22 | </span> |
michael@0 | 23 | </div> |
michael@0 | 24 | </body> |
michael@0 | 25 | </html> |