1 description("Series of tests to ensure correct behaviour for stroke() on an empty fillStyle() (alpha=0)");
2 var ctx = document.createElement('canvas').getContext('2d');
4 ctx.fillStyle = 'rgba(0,0,0,0)';
5 ctx.strokeStyle = 'green';
10 var imageData = ctx.getImageData(0, 0, 100, 100);
11 var imgdata = imageData.data;
12 shouldBe("imgdata[4]", "0");
13 shouldBe("imgdata[5]", "128");
14 shouldBe("imgdata[6]", "0");