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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/repaint-subrect-grid.html

Issue 1988313004: Test pixel results for repaint tests testing selection, etc. (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="../repaint/resources/text-based-repaint.js"></script> 3 <script src="../repaint/resources/text-based-repaint.js"></script>
4 </head> 4 </head>
5 <body style="background: url(resources/grid-large.png) no-repeat; background-siz e: 55px 55px;"> 5 <body style="background: url(resources/grid-large.png) no-repeat; background-siz e: 55px 55px;">
6 <div id="mask" style="position: absolute; top: -100px; left: -100px; 6 <div id="mask" style="position: absolute; top: -100px; left: -100px;
7 background-color: blue; width: 18.33px; height: 18.33p x;"></div> 7 background-color: blue; width: 18.33px; height: 18.33p x;"></div>
8 <script> 8 <script>
9 var pos = [ 9 var pos = [
10 // First row. 10 // First row.
(...skipping 30 matching lines...) Expand all
41 41
42 if (window.internals) 42 if (window.internals)
43 internals.forceCompositingUpdate(document); 43 internals.forceCompositingUpdate(document);
44 44
45 if (window.testRunner) 45 if (window.testRunner)
46 repaintTest(); 46 repaintTest();
47 else 47 else
48 setTimeout("repaintTest();", 1000); 48 setTimeout("repaintTest();", 1000);
49 } 49 }
50 50
51 onload = runRepaintTest; 51 onload = runRepaintAndPixelTest;
52 </script> 52 </script>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698