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

Side by Side Diff: LayoutTests/fast/canvas/patternfill-repeat.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 lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <title>createPattern repeat test</title> 4 <title>createPattern repeat test</title>
5 <style> canvas { border:solid #000 } </style> 5 <style> canvas { border:solid #000 } </style>
6 <script> 6 <script>
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.dumpAsText(true); 8 testRunner.dumpAsTextWithPixelResults();
9 testRunner.waitUntilDone(); 9 testRunner.waitUntilDone();
10 } 10 }
11 window.onload = function(){ 11 window.onload = function(){
12 var i = new Image(); 12 var i = new Image();
13 i.src = "resources/apple.gif"; 13 i.src = "resources/apple.gif";
14 i.onload = function() { 14 i.onload = function() {
15 var ctx = document.getElementsByTagName('canvas')[0].getContext('2d'); 15 var ctx = document.getElementsByTagName('canvas')[0].getContext('2d');
16 var p; 16 var p;
17 17
18 //ctx.strokeWidth(1.0); 18 //ctx.strokeWidth(1.0);
(...skipping 25 matching lines...) Expand all
44 testRunner.notifyDone(); 44 testRunner.notifyDone();
45 } 45 }
46 } 46 }
47 </script> 47 </script>
48 </head> 48 </head>
49 <body> 49 <body>
50 <p>There should be one big square below containing four squares. Top left squa re should be filled with 3 rows of 2 and bit Apple images. Top right square shou ld be 2 and a bit rows with one Apple image column along the left edge of the sq uare. Bottom left square should be one row with three Apple images along the top of the square. Bottom right square should be one Apple image in top left corner .</p> 50 <p>There should be one big square below containing four squares. Top left squa re should be filled with 3 rows of 2 and bit Apple images. Top right square shou ld be 2 and a bit rows with one Apple image column along the left edge of the sq uare. Bottom left square should be one row with three Apple images along the top of the square. Bottom right square should be one Apple image in top left corner .</p>
51 <p><canvas height="330" width="330"></canvas></p> 51 <p><canvas height="330" width="330"></canvas></p>
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/image-pattern-rotate.html ('k') | LayoutTests/fast/canvas/quadraticCurveTo.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698