| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript"> | 3 <script type="text/javascript"> |
| 4 function runTest() | 4 function runTest() |
| 5 { | 5 { |
| 6 if (window.testRunner) | 6 if (window.testRunner) |
| 7 window.testRunner.dumpAsTextWithPixelResults(); | 7 window.testRunner.dumpAsTextWithPixelResults(); |
| 8 document.getElementById("z").lastChild.data='Excellent! Test'; | 8 document.getElementById("z").lastChild.data='Excellent! Test'; |
| 9 } | 9 } |
| 10 </script> | 10 </script> |
| 11 </head> | 11 </head> |
| 12 <body onload="runTest()"> | 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 incomple
te repaint has occurred. | 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 incomple
te repaint has occurred. |
| 14 <div id="t" style="overflow-y: scroll; outline: none; width: 80px; height: 69px;
"> | 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 r
ed;">Failed Test</span> | 15 <br><br><br><br><br><br><br><br><br><span id="z" style="outline: 3px solid r
ed;">Failed Test</span> |
| 16 </div> | 16 </div> |
| 17 <script> | 17 <script> |
| 18 document.getElementById("t").scrollTop = 91; | 18 document.getElementById("t").scrollTop = 91; |
| 19 </script> | 19 </script> |
| 20 </body> | 20 </body> |
| 21 </html> | 21 </html> |
| OLD | NEW |