blob: f6d3290ca2d2852a1f9d085763e7140618a3f607 [file] [log] [blame]
<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');
document.body.scrollTop = 500;
shouldBe("document.body.scrollTop","500");
isSuccessfullyParsed();
}
</script>
</head>
<body onload="runTest()">
<div></div>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>