Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE
[gecko.git] / dom / canvas / test / reftest / 1758968-1-ref.html
bloba97e27d5fef7e90c0b63db44d78336b4eb94ed64
1 <div style="width: 100px; height: 100px;"><canvas id="canvas" width="100" height="50"></canvas></div>
2 <script>
3 var can = document.getElementById('canvas');
4 var ctx = can.getContext('2d');
6 ctx.shadowOffsetX = 24;
7 ctx.shadowOffsetY = 24;
8 ctx.shadowColor = 'blue';
9 ctx.shadowBlur = 20;
11 ctx.fillStyle = 'black';
12 ctx.fillRect(0,0,40,40);
13 </script>