blob: d1a194d118c8aae44f0e4e7d3cef0749b084f438 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
div {
height: 9999px;
width:9999px;
}
</style>
<script src="../../../resources/js-test-pre.js"></script>
<script>
function runTest() {
description('Tests that for non-standard mode document.body.scrollTop returns the scroll top value as 0');
document.body.scrollTop = 500;
shouldBe("document.body.scrollTop","0");
isSuccessfullyParsed();
}
</script>
</head>
<body onload="runTest()">
<div></div>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>