Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/overflow-scroll-delete.html

Issue 1992303002: Test pixel results for repaint tests changing scroll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 3 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function repaintTest() 5 function repaintTest()
6 { 6 {
7 document.getElementById("t").lastChild.data='Passed Test'; 7 document.getElementById("t").lastChild.data='Passed Test';
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
11 <body onload="runRepaintTest();"> 11 <body onload="runRepaintAndPixelTest();">
12 <p> 12 <p>
13 This is a repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?i d=11277">http://bugs.webkit.org/show_bug.cgi?id=11277</a> 13 This is a repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?i d=11277">http://bugs.webkit.org/show_bug.cgi?id=11277</a>
14 REGRESSION: Incomplete repaint of overflow areas when deleting</i>. 14 REGRESSION: Incomplete repaint of overflow areas when deleting</i>.
15 15
16 This shows that the repaint rect doesn't account for scrolling. You can 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 tex t would have been 17 use Quartz Debug to see that changing the text repaints a rect where the tex t would have been
18 if it hadn't been scrolled. 18 if it hadn't been scrolled.
19 </p> 19 </p>
20 <div id="t" style="overflow-y: scroll; outline: none; width: 80px; height: 69px; "> 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 21 <br><br><br><br><br><br><br><br><br>Failed Test
22 </div> 22 </div>
23 <script> 23 <script>
24 document.getElementById("t").scrollTop = 128; 24 document.getElementById("t").scrollTop = 128;
25 </script> 25 </script>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698