blob: 03adca5ccacf38940b26bdc00234143cd29b24f6 [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 standard mode document.documentElement.scrollTop returns the scroll top value');
document.documentElement.scrollTop = 500;
shouldBe("document.documentElement.scrollTop","500");
isSuccessfullyParsed();
}
</script>
</head>
<body onload="runTest()">
<div></div>
</body>
</html>