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

Side by Side Diff: LayoutTests/fast/canvas/canvas-arc-circumference-fill.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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head></head> 3 <head></head>
4 <body> 4 <body>
5 <canvas id="mycanvas" width="600" height="400"></canvas> 5 <canvas id="mycanvas" width="600" height="400"></canvas>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(true); 8 testRunner.dumpAsTextWithPixelResults();
9 9
10 var canvas = document.getElementById('mycanvas'); 10 var canvas = document.getElementById('mycanvas');
11 var ctx = canvas.getContext('2d'); 11 var ctx = canvas.getContext('2d');
12 ctx.fillStyle = 'rgba(0, 0, 0, 0.5)'; 12 ctx.fillStyle = 'rgba(0, 0, 0, 0.5)';
13 13
14 // 20 angles. 14 // 20 angles.
15 var sweepAngles = [ 15 var sweepAngles = [
16 -123.7, -2.3, -2, -1, -0.3, -0.000001, 0, 0.000001, 0.3, 0.7, 16 -123.7, -2.3, -2, -1, -0.3, -0.000001, 0, 0.000001, 0.3, 0.7,
17 1, 1.3, 1.5, 1.7, 1.99999, 2, 2.00001, 2.3, 4.3, 3934723942837.3 17 1, 1.3, 1.5, 1.7, 1.99999, 2, 2.00001, 2.3, 4.3, 3934723942837.3
18 ]; 18 ];
(...skipping 29 matching lines...) Expand all
48 ctx.translate(30, 0); 48 ctx.translate(30, 0);
49 } 49 }
50 ctx.restore(); 50 ctx.restore();
51 ctx.translate(0, 40); 51 ctx.translate(0, 40);
52 } 52 }
53 53
54 </script> 54 </script>
55 </body> 55 </body>
56 </html> 56 </html>
57 57
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-arc-circumference.html ('k') | LayoutTests/fast/canvas/canvas-before-css.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698