gecko/layout/reftests/canvas/674003-alpha-radial-gradient-superlum-ref.html
Jeff Muizelaar 92bd6665b1 Bug 674003. Add reftest for transparent radial gradients. r=joe
This draws a unchanging part of the gradient on to another canvas.

--HG--
extra : rebase_source : 57de827713cac43cf117da1d4dc95a29d0007987
2011-08-05 17:10:09 -04:00

12 lines
326 B
HTML

<body bgcolor="orange">
<canvas width="300" height="300" id="testcase-canvas-dest"></canvas>
<script>
const kTransparent = "rgba(0%, 100%, 100%, 0.5)";
cx2 = document.getElementById('testcase-canvas-dest').getContext('2d');
cx2.fillStyle = kTransparent;
cx2.fillRect(0,0,100,20);
</script>
</window>