2d.drawImage.incomplete.* have insufficient coverage

Hi there,


I am not reviewing these <canvas> sets in a systematic way but I
realized that 2d.drawImage.incomplete.* have insufficient coverage. To
be precise, 2d.drawImage.incomplete.* really should not pass in WebKit,
but some of them do.

Changing drawImage() calls from:

 #  ctx.drawImage(img, 0, 0);

to

 |  ctx.drawImage(img, 0, 0);
 |  ctx.drawImage(img, 0, 0, 1, 1);
 |  ctx.drawImage(img, 0, 0, 1, 1, 0, 0, 1, 1);

would make these fail WebKit.


p.s. I disagree with the spec in that I think these should throw but
that discussion doesn't belong here.


Cheers,
Kenny
-- 
Web Specialist, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/

Received on Friday, 1 March 2013 13:18:58 UTC