no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / layout / reftests / canvas / 1074733-1-ref.html
blob89b87374de0bc6640d6b901bc67b7bf0e78a65ef
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <script type="text/javascript">
6 function bodyonload() {
7 var canvas=document.getElementById('test');
8 var ctx = canvas.getContext("2d");
9 ctx.fillStyle = 'green';
10 ctx.fillRect(-1, 50, 151, 50); // left at -1
11 ctx.fillStyle = 'red';
12 ctx.rect(-1, 100, 151, 50); // left at -1
13 ctx.fill();
14 ctx.fillStyle = 'blue';
15 ctx.fillRect(0, 150, 150, 50); // left at 0
17 </script>
18 </head>
19 <body onload="bodyonload();">
20 <canvas id="test" width="200" height="200"></canvas>
21 </body>
22 </html>