blob: 329b2ca0e556a9e754f779026f4f7a3349155630 [file] [log] [blame]
<html dir="rtl">
<head>
<style>
body {
margin: 0;
}
.wide {
width: 2000px;
height: 10px;
background-color: silver;
}
.origin {
position: absolute;
top: 0;
left: 0;
width: 10px;
height: 10px;
background-color: blue;
}
#lefty {
position: absolute;
left: -200px;
width: 100px;
height: 100px;
background-color: orange;
}
</style>
<script>
function runTest()
{
document.scrollingElement.scrollLeft = -200;
}
window.addEventListener('load', runTest, false);
</script>
</head>
<body>
<div class="wide"></div>
<div class="origin"></div>
<div id="lefty"></div>
<div id="result">
</div>
</body>
</html>