Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <html>
2 <head>
3 </head>
4 <body>
5 <canvas id="canvas" width="300" height="300"></canvas>
6 <script type="application/javascript">
7 var canvas = document.getElementById("canvas");
8 var ctx = canvas.getContext("2d");
10 ctx.fillStyle = '#eeeeee';
11 ctx.strokeStyle = '#000000';
13 ctx.beginPath();
14 ctx.moveTo(0, 50);
15 ctx.lineTo(50, 50);
17 ctx.translate(100, 100);
18 ctx.lineTo(50, 0);
20 ctx.stroke();
21 ctx.fill();
22 </script>
23 </body>
24 </html>