blob: f5fd161504d5f9f1de7950f07383ed591c06c77d [file] [log] [blame]
<html>
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=10692</title>
</head>
<body>
<div style="position: relative; left: -100px;">
<div id="target" style="position: relative; left: 100px; width: 100px; overflow: auto; background-color: red;">
<div style="width: 100px; height: 100px; background-color: green;"></div>
</div>
</div>
<script>
document.getElementById("target").scrollLeft = "100";
</script>
</body>
</html>