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