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

Side by Side Diff: LayoutTests/fast/repaint/scroll-absolute-layer-with-reflection.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="resources/default.css"></style> 3 <link rel="stylesheet" href="resources/default.css"></style>
4 <script src="resources/repaint.js" type="text/javascript"></script> 4 <script src="resources/repaint.js" type="text/javascript"></script>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.dumpAsText(true); 7 testRunner.dumpAsTextWithPixelResults();
8 8
9 function repaintTest() 9 function repaintTest()
10 { 10 {
11 var moveMeElement = document.getElementById('moveMe'); 11 var moveMeElement = document.getElementById('moveMe');
12 moveMeElement.scrollTop = 250; 12 moveMeElement.scrollTop = 250;
13 moveMeElement.scrollLeft = 150; 13 moveMeElement.scrollLeft = 150;
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body style="height:2000px;" onload="runRepaintTest()"> 17 <body style="height:2000px;" onload="runRepaintTest()">
18 <!-- You should see 1 green rectangle rotated in the output and no red. --> 18 <!-- You should see 1 green rectangle rotated in the output and no red. -->
19 <div id="moveMe" style="top: 230px; left: 250px;" class="absolute clipped"> 19 <div id="moveMe" style="top: 230px; left: 250px;" class="absolute clipped">
20 <div class="relative reflected" style="height: 50px; top: 250px; left: 1 50px;"> 20 <div class="relative reflected" style="height: 50px; top: 250px; left: 1 50px;">
21 <div class="green"></div> 21 <div class="green"></div>
22 </div> 22 </div>
23 <div class="absolute red" style="top: 0px; left: 0px; height: 250px; wid th: 150px;"></div> 23 <div class="absolute red" style="top: 0px; left: 0px; height: 250px; wid th: 150px;"></div>
24 </div> 24 </div>
25 <!-- Make sure we are scrolled --> 25 <!-- Make sure we are scrolled -->
26 <div style="top: 0px; left: 0px;" class="absolute red"></div> 26 <div style="top: 0px; left: 0px;" class="absolute red"></div>
27 <script> 27 <script>
28 window.scrollTo(100, 180); 28 window.scrollTo(100, 180);
29 </script> 29 </script>
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698