summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/690643-1-ref.html
blob: bc077f0f9eb8944fbdeca73a7c3ae5277f8de189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
 <head>
 </head>
<body>
 <canvas id="canvas" width="300" height="300"></canvas>
  <script type="application/javascript">
    var canvas = document.getElementById("canvas");
    var ctx = canvas.getContext("2d");

    ctx.fillStyle = '#eeeeee';
    ctx.strokeStyle = '#000000';

    ctx.beginPath();
    ctx.moveTo(0, 50);
    ctx.lineTo(50, 50);
    ctx.lineTo(150, 100);

    ctx.stroke();
    ctx.fill();
  </script>
</body>
</html>