blob: 40f8dc129f4c258e569453c4b23da138f58e8571 [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.scrollLeft returns the scroll left value');
document.documentElement.scrollLeft = 500;
shouldBe("document.documentElement.scrollLeft","500");
isSuccessfullyParsed();
}
</script>
</head>
<body onload="runTest()">
<div></div>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>