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/canvas-before-css.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 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="about:blank" type="text/css"> 3 <link rel="stylesheet" href="about:blank" type="text/css">
4 </head> 4 </head>
5 <body> 5 <body>
6 <p>If the canvas below is black, then we managed to draw before loading styl esheets. Hooray!</p> 6 <p>If the canvas below is black, then we managed to draw before loading styl esheets. Hooray!</p>
7 <canvas id="mycanvas" width="400" height="200"></canvas> 7 <canvas id="mycanvas" width="400" height="200"></canvas>
8 <script type="application/x-javascript"> 8 <script type="application/x-javascript">
9 if (window.testRunner) 9 if (window.testRunner)
10 testRunner.dumpAsText(true); 10 testRunner.dumpAsTextWithPixelResults();
11 11
12 var canvas = document.getElementById("mycanvas"); 12 var canvas = document.getElementById("mycanvas");
13 canvas.getContext("2d").fillRect(0, 0, canvas.width, canvas.height); 13 canvas.getContext("2d").fillRect(0, 0, canvas.width, canvas.height);
14 </script> 14 </script>
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-arc-circumference-fill.html ('k') | LayoutTests/fast/canvas/canvas-composite.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698