Fixing typo. Changed repaintTest to runRepaintTest.
[WebKit-https.git] / LayoutTests / fast / repaint / overflow-outline-repaint.html
1 <html>
2 <head>
3     <script src="repaint.js" type="text/javascript"></script>
4     <script type="text/javascript">
5        function repaintTest()
6        {
7        document.getElementById("z").lastChild.data='Excellent! Test';
8        }
9     </script>
10 </head>
11 <body onload="runRepaintTest()">
12 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.
13 <div id="t" style="overflow-y: scroll; outline: none; width: 80px; height: 69px;">
14     <br><br><br><br><br><br><br><br><br><span id="z" style="outline: 3px solid red;">Failed Test</span>
15 </div>
16 <script>
17     document.getElementById("t").scrollTop = 91;
18 </script>
19 </body>
20 </html>