1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/408656-1b.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<html> 1.5 +<head><style> 1.6 +body { 1.7 + margin: 0px; 1.8 +} 1.9 +span.a { 1.10 + position: absolute; 1.11 + width: 100px; 1.12 + height: 100px; 1.13 + border: 1px solid black; 1.14 + overflow: hidden; 1.15 +} 1.16 +</style></head> 1.17 +<body> 1.18 +<!-- Note: This variant testcase (with no whitespace --> 1.19 +<!-- between </script> and <div>) only reproduces the --> 1.20 +<!-- bug on nightlies after May 1st, 2005. --> 1.21 +<script>document.body.offsetHeight;</script 1.22 +><div style="padding: 100px;"> 1.23 + <span style="position: relative;"> 1.24 + <span class="a"></span> 1.25 + </span> 1.26 +</div> 1.27 +</body> 1.28 +</html>