blob: 492ce2e5091d4b5c47468e7786569c409a535eec [file] [log] [blame]
<script src="resources/repaint.js"></script>
<body onload="runRepaintTest()">
<div id="target" style="width: 100px; height: 100px; white-space:pre; overflow: hidden;"> FAIL .</div>
<script>
var target = document.getElementById("target");
target.scrollLeft = 100;
function repaintTest()
{
target.innerText = " PASS .";
}
</script>