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

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

Issue 187393007: Convert some pixel tests in fast/canvas into ref tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
(Empty)
1 <html>
2 <head>
3 <script type="application/x-javascript">
4 function draw() {
5 var ctx = document.getElementById('c').getContext('2d');
6
7 ctx.fillStyle = "rgb(200,0,0)";
8 ctx.fillRect (10, 10, 55, 50);
9 ctx.fillRect (310, 10, 55, 50);
10 ctx.fillRect (10, 310, 55, 50);
11 ctx.fillRect (310, 310, 55, 50);
12
13 ctx.fillStyle = "rgba(0, 0, 200, 0.5)";
14 ctx.fillRect (30, 30, 55, 50);
15 ctx.fillRect (330, 30, 55, 50);
16 ctx.fillRect (30, 330, 55, 50);
17 ctx.fillRect (330, 330, 55, 50);
18 }
19 </script>
20 </head>
21 <body onload="draw();">
22 <canvas id="c" width="600" height="600"></div>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698