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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 4 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 if (window.internals) 6 if (window.internals)
7 internals.settings.setPreferCompositingToLCDTextEnabled(true); 7 internals.settings.setPreferCompositingToLCDTextEnabled(true);
8 function repaintTest() 8 function repaintTest()
9 { 9 {
10 window.scrollTo(0, 1000); 10 window.scrollTo(0, 1000);
11 window.scrollTo(0, 100); 11 window.scrollTo(0, 100);
12 } 12 }
13 </script> 13 </script>
14 </head> 14 </head>
15 <body style="height:2000px" onload="runRepaintTest()"> 15 <body style="height:2000px" onload="runRepaintAndPixelTest()">
16 <div style="position: fixed; top: 100px; left: 100px; width: 200px; height: 200px"></div> 16 <div style="position: fixed; top: 100px; left: 100px; width: 200px; height: 200px"></div>
17 There should be no repaints here: 17 There should be no repaints here:
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698