summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/528038-1a.html
blob: 9488844e2e21f163b9ff0d94ffa1207b492d21a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html>
    <head>
        <script>
            window.onload = function() {
              document.body.offsetWidth;
              document.body.style.top = "100px";
            };
        </script>
    </head>
    <body><div style="position: relative; top: inherit"><div style="position: absolute; top: inherit">This text should be 200px from the top of the body</div></div></body>
</html>