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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/scrolling-without-painting.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <!-- 3 <!--
4 This test checks that accelerated scrolling layers can be scrolled without 4 This test checks that accelerated scrolling layers can be scrolled without
5 repainting their contents. See https://bugs.webkit.org/show_bug.cgi?id=96087. 5 repainting their contents. See https://bugs.webkit.org/show_bug.cgi?id=96087.
6 --> 6 -->
7 7
8 <html> 8 <html>
9 <head> 9 <head>
10 <style type="text/css"> 10 <style type="text/css">
(...skipping 14 matching lines...) Expand all
25 <script type="text/javascript"> 25 <script type="text/javascript">
26 if (window.internals) 26 if (window.internals)
27 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); 27 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
28 28
29 function repaintTest() { 29 function repaintTest() {
30 // Scroll down. This should not cause any more repaints to the 30 // Scroll down. This should not cause any more repaints to the
31 // scrolling contents. 31 // scrolling contents.
32 document.getElementById('scroller').scrollTop = 25; 32 document.getElementById('scroller').scrollTop = 25;
33 } 33 }
34 34
35 runRepaintTest(); 35 runRepaintAndPixelTest();
36 </script> 36 </script>
37 </head> 37 </head>
38 <body> 38 <body>
39 <div id="scroller"> 39 <div id="scroller">
40 <div id="content"></div> 40 <div id="content"></div>
41 </div> 41 </div>
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698