Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE
[gecko.git] / dom / canvas / test / reftest / 1937751-cached-stroked-paths-1-ref.html
blob1ccc6cb7cc09d6a911f7130c4b596f8229a2181f
1 <canvas id=dest height="768" width="1024"></canvas>
2 <script>
4 var c=document.getElementById("dest");
5 var ctx=c.getContext("2d");
6 ctx.setTransform(1,0,0,1,0,0);
8 ctx.transform(1,0,0,1,512,384);
9 ctx.globalAlpha=0.5;
10 ctx.beginPath();
11 ctx.moveTo(0,324);
13 ctx.lineTo(239.66624210637872,84.6706564587356);
14 ctx.lineTo(78.17543855489896,-213.5804865149861);
15 ctx.lineTo(-136.36617853185373,-262.93052317185794);
16 ctx.lineTo(-195.91764235680165,51.60583806061618);
17 ctx.lineTo(0,324);
19 ctx.closePath();
20 ctx.fillStyle="rgba(0,0,0,0)";
21 ctx.fill();
22 ctx.lineWidth=40;
23 ctx.lineCap="butt";
24 ctx.lineJoin="miter";
25 ctx.miterLimit="10";
26 ctx.strokeStyle="#555555";
27 ctx.stroke();
28 </script>