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

Side by Side Diff: LayoutTests/compositing/img-layer-grow.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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/mock_scrollbars.js"></script> 4 <script src="resources/mock_scrollbars.js"></script>
5 <script type="text/javascript" charset="utf-8"> 5 <script type="text/javascript" charset="utf-8">
6 6
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 testRunner.dumpAsText(true); // This is only useful as a pixel test. 9 testRunner.dumpAsTextWithPixelResults(); // This is only useful as a pixel t est.
10 } 10 }
11 11
12 function doTest() 12 function doTest()
13 { 13 {
14 div = document.getElementById("div"); 14 div = document.getElementById("div");
15 if (window.testRunner) 15 if (window.testRunner)
16 testRunner.display(); 16 testRunner.display();
17 window.setTimeout(function() { 17 window.setTimeout(function() {
18 div.style.height = "1600px"; 18 div.style.height = "1600px";
19 if (window.testRunner) 19 if (window.testRunner)
20 testRunner.notifyDone(); 20 testRunner.notifyDone();
21 }, 0); 21 }, 0);
22 } 22 }
23 23
24 window.addEventListener('load', doTest, false); 24 window.addEventListener('load', doTest, false);
25 </script> 25 </script>
26 26
27 </head> 27 </head>
28 <body> 28 <body>
29 <div id="div"> 29 <div id="div">
30 <img id="image" src="resources/apple.jpg" style="-webkit-transform: translat eZ(0);"> 30 <img id="image" src="resources/apple.jpg" style="-webkit-transform: translat eZ(0);">
31 </div> 31 </div>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698