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

Side by Side Diff: LayoutTests/fast/canvas/canvas-arc-circumference.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></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 12
13 ctx.lineWidth = 3; 13 ctx.lineWidth = 3;
14 ctx.strokeStyle = 'rgba(0, 0, 0, 0.5)'; 14 ctx.strokeStyle = 'rgba(0, 0, 0, 0.5)';
15 15
16 // 20 angles. 16 // 20 angles.
17 var sweepAngles = [ 17 var sweepAngles = [
18 -123.7, -2.3, -2, -1, -0.3, -0.000001, 0, 0.000001, 0.3, 0.7, 18 -123.7, -2.3, -2, -1, -0.3, -0.000001, 0, 0.000001, 0.3, 0.7,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ctx.translate(30, 0); 50 ctx.translate(30, 0);
51 } 51 }
52 ctx.restore(); 52 ctx.restore();
53 ctx.translate(0, 40); 53 ctx.translate(0, 40);
54 } 54 }
55 55
56 </script> 56 </script>
57 </body> 57 </body>
58 </html> 58 </html>
59 59
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/arc360.html ('k') | LayoutTests/fast/canvas/canvas-arc-circumference-fill.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698