3 <script src="resources/repaint.js" type="text/javascript"></script>
4 <script type="text/javascript">
7 document.getElementById("t").lastChild.data='Passed Test';
11 <body onload="runRepaintTest();">
13 This is a repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11277">http://bugs.webkit.org/show_bug.cgi?id=11277</a>
14 REGRESSION: Incomplete repaint of overflow areas when deleting</i>.
16 This shows that the repaint rect doesn't account for scrolling. You can
17 use Quartz Debug to see that changing the text repaints a rect where the text would have been
18 if it hadn't been scrolled.
20 <div id="t" style="overflow-y: scroll; outline: none; width: 80px; height: 69px;">
21 <br><br><br><br><br><br><br><br><br>Failed Test
24 document.getElementById("t").scrollTop = 128;