no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / layout / reftests / canvas / 749467-1.html
blob8b2bbaa2dfa9f45b89b01d3438671a0ce0946165
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5 </head>
6 <body>
7 <p><canvas width="500" height="200" id="c"></canvas></p>
8 <script type="text/javascript">
10 var canvas = document.getElementById('c');
11 var ctx = canvas.getContext('2d');
13 ctx.beginPath();
15 ctx.lineWidth = 20;
16 ctx.strokeStyle = 'rgb(0,0,0)';
18 ctx.save();
20 ctx.moveTo(10, 30);
21 ctx.lineTo(50, 50);
23 ctx.stroke();
24 ctx.restore();
26 ctx.lineTo(80, 80);
27 ctx.stroke();
29 </script>
30 </body>
31 </html>