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

Side by Side Diff: LayoutTests/fast/canvas/canvas-transform-identity.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 <!-- Test based on that found at 2 <!-- Test based on that found at
3 http://philip.html5.org/tests/canvas/suite/tests/index.2d.transformation.tr ansform.html 3 http://philip.html5.org/tests/canvas/suite/tests/index.2d.transformation.tr ansform.html
4 --> 4 -->
5 <title>Canvas test: 2d.transformation.transform.identity</title> 5 <title>Canvas test: 2d.transformation.transform.identity</title>
6 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback"> FAIL (fallback content)</p></canvas> 6 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback"> FAIL (fallback content)</p></canvas>
7 <script> 7 <script>
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.dumpAsText(true); 9 testRunner.dumpAsTextWithPixelResults();
10 10
11 var canvas = document.getElementById("canvas").getContext("2d"); 11 var canvas = document.getElementById("canvas").getContext("2d");
12 canvas.fillStyle = '#f00'; 12 canvas.fillStyle = '#f00';
13 canvas.fillRect(0, 0, 100, 100); 13 canvas.fillRect(0, 0, 100, 100);
14 canvas.transform(1,0, 0,1, 0,0); 14 canvas.transform(1,0, 0,1, 0,0);
15 canvas.fillStyle = '#0f0'; 15 canvas.fillStyle = '#0f0';
16 canvas.fillRect(0, 0, 100, 100); 16 canvas.fillRect(0, 0, 100, 100);
17 </script> 17 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-toDataURL-webp.html ('k') | LayoutTests/fast/canvas/canvas-transform-infinity.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698