summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/528038-1f.html
blob: edc91dec2b51e42a91c7cc9b562f780a14d2ff9c (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.getElementById("foo").style.top = "200px";
            };
        </script>
    </head>
    <body style="font-size: 0"><span id="foo"><span style="position: relative; top: inherit; display: block; font-size: medium">This text should be 200px from the top of the body</span></span></body>
</html>