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

Side by Side Diff: LayoutTests/fast/repaint/add-table-overpaint.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, 3 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 1
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <html> 3 <html>
4 <body onload="runRepaintTest()" style="margin: 0px"> 4 <body onload="runRepaintTest()" style="margin: 0px">
5 <script src="resources/repaint.js"></script> 5 <script src="resources/repaint.js"></script>
6 <style> 6 <style>
7 td { 7 td {
8 height: 150px; 8 height: 150px;
9 width: 150px; 9 width: 150px;
10 background-color: blue; 10 background-color: blue;
11 } 11 }
12 </style> 12 </style>
13 <!-- This test adds 3 tables do the document. Adding the 3rd table should not c ause the first table to repaint. --> 13 <!-- This test adds 3 tables do the document. Adding the 3rd table should not c ause the first table to repaint. -->
14 <div id="container"></div> 14 <div id="container"></div>
15 <script> 15 <script>
16 function addTable() { 16 function addTable() {
17 var div = document.createElement('div'); 17 var div = document.createElement('div');
18 document.getElementById('container').appendChild(div); 18 document.getElementById('container').appendChild(div);
19 div.innerHTML = '<table><td></td></table>'; 19 div.innerHTML = '<table><td></td></table>';
20 } 20 }
21 addTable(); 21 addTable();
22 addTable(); 22 addTable();
23 if (window.testRunner) 23 if (window.testRunner)
24 testRunner.dumpAsText(true); // We don't care about the rendering tree dump, just the pixel dump. 24 testRunner.dumpAsTextWithPixelResults(); // We don't care about the renderin g tree dump, just the pixel dump.
25 function repaintTest() { 25 function repaintTest() {
26 addTable(); 26 addTable();
27 } 27 }
28 </script> 28 </script>
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/absolute-position-moved.html ('k') | LayoutTests/fast/repaint/background-clip-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698