blob: 1581e52341aa166dec17b0871421e6ed7d925ca1 [file] [log] [blame]
<html>
<head>
<script src="resources/repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest()
{
document.getElementById("z").lastChild.data='Excellent! Test';
}
</script>
</head>
<body onload="runRepaintTest()">
If the red outline at the bottom of the div extends all the way to the scrollbar, the test passes. If it stops short, then the test has failed, and an incomplete repaint has occurred.
<div id="t" style="overflow-y: scroll; outline: none; width: 80px; height: 69px;">
<br><br><br><br><br><br><br><br><br><span id="z" style="outline: 3px solid red;">Failed Test</span>
</div>
<script>
document.getElementById("t").scrollTop = 91;
</script>
</body>
</html>