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

Side by Side Diff: LayoutTests/fast/canvas/setWidthResetAfterForcedRender.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 PUBLIC "-//W3C//DTD HTML 4.01//EN" 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd"> 2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html> 3 <html>
4 <head> 4 <head>
5 <script src="resources/repaint.js"></script> 5 <script src="resources/repaint.js"></script>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(true); 8 testRunner.dumpAsTextWithPixelResults();
9 9
10 function repaintTest() 10 function repaintTest()
11 { 11 {
12 var canvas = document.getElementById('c1'); 12 var canvas = document.getElementById('c1');
13 var offset = document.body.offsetLeft; // Forces layout 13 var offset = document.body.offsetLeft; // Forces layout
14 canvas.width = canvas.width; // Should wipe canvas clean 14 canvas.width = canvas.width; // Should wipe canvas clean
15 } 15 }
16 </script> 16 </script>
17 </head> 17 </head>
18 <body onload="runRepaintTest();"> 18 <body onload="runRepaintTest();">
(...skipping 12 matching lines...) Expand all
31 31
32 var canvas = document.getElementById('c1'); 32 var canvas = document.getElementById('c1');
33 var ctx = canvas.getContext('2d'); 33 var ctx = canvas.getContext('2d');
34 ctx.fillStyle = '#0f0'; 34 ctx.fillStyle = '#0f0';
35 ctx.fillRect(0, 0, 100, 50); 35 ctx.fillRect(0, 0, 100, 50);
36 36
37 </script> 37 </script>
38 38
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/quadraticCurveTo.xml ('k') | LayoutTests/fast/canvas/shadow-offset-1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698