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

Side by Side Diff: LayoutTests/fast/repaint/overflow-hide.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"> 3 <link rel="stylesheet" href="resources/default.css">
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 function repaintTest() 8 function repaintTest()
9 { 9 {
10 document.getElementById('overflowParent').style.overflow = "hidden"; 10 document.getElementById('overflowParent').style.overflow = "hidden";
11 } 11 }
12 </script> 12 </script>
13 </head> 13 </head>
14 <body style="height:2000px;" onload="runRepaintTest()"> 14 <body style="height:2000px;" onload="runRepaintTest()">
15 <!-- You should see 2 green rectangle sharing one corner in the output. --> 15 <!-- You should see 2 green rectangle sharing one corner in the output. -->
16 <div id="overflowParent" class="absolute green"><div style="top:100px; left: 100px;" class="relative red"></div></div> 16 <div id="overflowParent" class="absolute green"><div style="top:100px; left: 100px;" class="relative red"></div></div>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698