summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/528038-1d.html
blob: 87d4fe654485e953a6d2f1aeae756948aa13653e (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><div style="display: table" id="foo"><div style="position: relative; top: inherit">This text should be 200px from the top of the body</div></div></body>
</html>