3 <script type=
"text/javascript">
7 window
.testRunner
.dumpAsTextWithPixelResults();
8 document
.getElementById("z").lastChild
.data
='Excellent! Test';
12 <body onload=
"runTest()">
13 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.
14 <div id=
"t" style=
"overflow-y: scroll; outline: none; width: 80px; height: 69px;">
15 <br><br><br><br><br><br><br><br><br><span id=
"z" style=
"outline: 3px solid red;">Failed Test
</span>
18 document
.getElementById("t").scrollTop
= 91;