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

Side by Side Diff: LayoutTests/fast/repaint/scroll-fixed-reflected-layer.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 document.getElementById("hideMe").style.zIndex = "-5"; 11 document.getElementById("hideMe").style.zIndex = "-5";
12 } 12 }
13 </script> 13 </script>
14 </head> 14 </head>
15 <body style="height:2000px;" onload="runRepaintTest()"> 15 <body style="height:2000px;" onload="runRepaintTest()">
16 <!-- You should see 1 green rectangle rotated in the output and no red. --> 16 <!-- You should see 1 green rectangle rotated in the output and no red. -->
17 <div style="height: 50px; top: 100px; left: 250px;" class="reflected fixed"> 17 <div style="height: 50px; top: 100px; left: 250px;" class="reflected fixed">
18 <div class="absolute green reflected" style="height: 50px;"></div> 18 <div class="absolute green reflected" style="height: 50px;"></div>
19 <div id="hideMe" class="absolute red" style="top: 0px; left: 0px;"></div > 19 <div id="hideMe" class="absolute red" style="top: 0px; left: 0px;"></div >
20 </div> 20 </div>
21 <!-- Make sure we are scrolled --> 21 <!-- Make sure we are scrolled -->
22 <div style="top: 0px; left: 0px;" class="absolute red"></div> 22 <div style="top: 0px; left: 0px;" class="absolute red"></div>
23 <script> 23 <script>
24 window.scrollTo(100, 180); 24 window.scrollTo(100, 180);
25 </script> 25 </script>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698