1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/528038-1b.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <script> 1.8 + window.onload = function() { 1.9 + document.body.offsetWidth; 1.10 + document.body.style.top = "100px"; 1.11 + }; 1.12 + </script> 1.13 + </head> 1.14 + <body><div style="position: relative; top: inherit"><div style="position: relative; top: inherit">This text should be 200px from the top of the body</div></div></body> 1.15 +</html>