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

Side by Side Diff: LayoutTests/fast/canvas/canvas-bg-expected.html

Issue 302083006: Fixed layout test fast/canvas/canvas-bg.html to work with accelerated canvas (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « LayoutTests/fast/canvas/canvas-bg.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="application/x-javascript"> 3 <script type="application/x-javascript">
4 function draw() { 4 function draw() {
5 var ctx = document.getElementById('c').getContext('2d'); 5 var ctx = document.getElementById('c').getContext('2d');
6 6
7 ctx.fillStyle = "rgb(200,0,0)"; 7 ctx.fillStyle = "rgb(200,0,0)";
8 ctx.fillRect (10, 10, 55, 50); 8 ctx.fillRect (10, 10, 55, 50);
9 ctx.fillRect (310, 10, 55, 50); 9 ctx.fillRect (310, 10, 55, 50);
10 ctx.fillRect (10, 310, 55, 50); 10 ctx.fillRect (10, 310, 55, 50);
11 ctx.fillRect (310, 310, 55, 50); 11 ctx.fillRect (310, 310, 55, 50);
12 12
13 ctx.fillStyle = "rgba(0, 0, 200, 0.5)"; 13 ctx.fillStyle = "rgb(0, 0, 200)";
14 ctx.fillRect (30, 30, 55, 50); 14 ctx.fillRect (30, 30, 55, 50);
15 ctx.fillRect (330, 30, 55, 50); 15 ctx.fillRect (330, 30, 55, 50);
16 ctx.fillRect (30, 330, 55, 50); 16 ctx.fillRect (30, 330, 55, 50);
17 ctx.fillRect (330, 330, 55, 50); 17 ctx.fillRect (330, 330, 55, 50);
18 } 18 }
19 </script> 19 </script>
20 </head> 20 </head>
21 <body onload="draw();"> 21 <body onload="draw();">
22 <canvas id="c" width="600" height="600"></div> 22 <canvas id="c" width="600" height="600"></div>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-bg.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698