<body style="position: relative; width: 200px; margin: 0 auto;">
<pre id="console">The body should have 0 for both offsetLeft and offsetTop.

</pre>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
var console = document.getElementById("console");
console.appendChild(document.createTextNode("body.offsetParent = " + document.body.offsetParent + "\n"));
console.appendChild(document.createTextNode("body.offsetLeft = " + document.body.offsetLeft + "\n"));
console.appendChild(document.createTextNode("body.offsetTop = " + document.body.offsetTop + "\n"));
</script>
