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

Side by Side Diff: LayoutTests/fast/canvas/image-pattern-rotate.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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd"> 2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html> 3 <html>
4 <head> 4 <head>
5 <script> 5 <script>
6 var img; 6 var img;
7 7
8 function imageLoaded() { 8 function imageLoaded() {
9 var NUM_IMAGE = 16; 9 var NUM_IMAGE = 16;
10 for (var i = 0; i < NUM_IMAGE; i++) { 10 for (var i = 0; i < NUM_IMAGE; i++) {
(...skipping 16 matching lines...) Expand all
27 canvases.appendChild(div); 27 canvases.appendChild(div);
28 } 28 }
29 29
30 if (window.testRunner) { 30 if (window.testRunner) {
31 testRunner.notifyDone(); 31 testRunner.notifyDone();
32 } 32 }
33 } 33 }
34 34
35 function runTests() { 35 function runTests() {
36 if (window.testRunner) { 36 if (window.testRunner) {
37 » » testRunner.dumpAsText(true); 37 » » testRunner.dumpAsTextWithPixelResults();
38 testRunner.waitUntilDone(); 38 testRunner.waitUntilDone();
39 } 39 }
40 40
41 img = new Image(); 41 img = new Image();
42 img.onload = imageLoaded; 42 img.onload = imageLoaded;
43 img.src = ('data:image/png;base64,' + 43 img.src = ('data:image/png;base64,' +
44 'iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAAXNSR0IArs4c6QAA AAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHEAcrAR/kt7IAAAAZdEVYdENvbW1lbnQAQ3JlYXRl ZCB3aXRoIEdJTVBXgQ4XAAAAFElEQVQI12P4//8/AwMDhIQBuBgAs2oL9bpyMd8AAAAASUVORK5CYII= '); 44 'iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAAXNSR0IArs4c6QAA AAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHEAcrAR/kt7IAAAAZdEVYdENvbW1lbnQAQ3JlYXRl ZCB3aXRoIEdJTVBXgQ4XAAAAFElEQVQI12P4//8/AwMDhIQBuBgAs2oL9bpyMd8AAAAASUVORK5CYII= ');
45 45
46 } 46 }
47 </script> 47 </script>
48 </head> 48 </head>
49 <body onload="runTests();"> 49 <body onload="runTests();">
50 You should see (almost) straight vertical line below. 50 You should see (almost) straight vertical line below.
51 <div id="canvases"></div> 51 <div id="canvases"></div>
52 </pre> 52 </pre>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/image-object-in-canvas.html ('k') | LayoutTests/fast/canvas/patternfill-repeat.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698