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

Side by Side Diff: LayoutTests/fast/repaint/absolute-position-moved.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 var absoluteDiv = document.getElementById('absoluteDiv'); 10 var absoluteDiv = document.getElementById('absoluteDiv');
11 absoluteDiv.parentNode.removeChild(absoluteDiv); 11 absoluteDiv.parentNode.removeChild(absoluteDiv);
12 document.body.appendChild(absoluteDiv); 12 document.body.appendChild(absoluteDiv);
13 } 13 }
14 </script> 14 </script>
15 </head> 15 </head>
16 <body style="height:2000px;" onload="runRepaintTest()"> 16 <body style="height:2000px;" onload="runRepaintTest()">
17 <!-- You should see 1 green rectangle in the output and no red. --> 17 <!-- You should see 1 green rectangle in the output and no red. -->
18 <div style="top: 5000px;" class="fixed red"><div id="absoluteDiv" style="top :100px; left:100px;" class="absolute green"></div></div> 18 <div style="top: 5000px;" class="fixed red"><div id="absoluteDiv" style="top :100px; left:100px;" class="absolute green"></div></div>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/absolute-position-changed.html ('k') | LayoutTests/fast/repaint/add-table-overpaint.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698