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

Side by Side Diff: LayoutTests/compositing/repaint/same-size-invalidation.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 <html> 1 <html>
2 <head> 2 <head>
3 <style type="text/css" media="screen"> 3 <style type="text/css" media="screen">
4 .container { 4 .container {
5 height: 200px; 5 height: 200px;
6 width: 200px; 6 width: 200px;
7 background-color: green; 7 background-color: green;
8 -webkit-transform: translateZ(0); 8 -webkit-transform: translateZ(0);
9 } 9 }
10 10
(...skipping 14 matching lines...) Expand all
25 document.getElementById('tester').style.backgroundColor = 'red'; 25 document.getElementById('tester').style.backgroundColor = 'red';
26 setTimeout(changeBackground2, 0); 26 setTimeout(changeBackground2, 0);
27 } 27 }
28 function changeBackground2() { 28 function changeBackground2() {
29 document.getElementById('tester').style.backgroundColor = 'green'; 29 document.getElementById('tester').style.backgroundColor = 'green';
30 if (window.testRunner) 30 if (window.testRunner)
31 testRunner.notifyDone(); 31 testRunner.notifyDone();
32 } 32 }
33 if (window.testRunner) { 33 if (window.testRunner) {
34 testRunner.waitUntilDone(); 34 testRunner.waitUntilDone();
35 testRunner.dumpAsText(true); 35 testRunner.dumpAsTextWithPixelResults();
36 } 36 }
37 window.addEventListener('load', doTest, false); 37 window.addEventListener('load', doTest, false);
38 </script> 38 </script>
39 </head> 39 </head>
40 <body> 40 <body>
41 <!-- this test should only display a green square --> 41 <!-- this test should only display a green square -->
42 <div class="container"> 42 <div class="container">
43 <div id="tester"></div> 43 <div id="tester"></div>
44 </div> 44 </div>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/repaint/requires-backing-repaint.html ('k') | LayoutTests/compositing/repaint/shrink-layer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698