W3C home > Mailing lists > Public > public-html-testsuite@w3.org > March 2013

2d.drawImage.incomplete.* have insufficient coverage

From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
Date: Fri, 01 Mar 2013 21:16:50 +0800
Message-ID: <5130AA42.8060209@oupeng.com>
To: Philip Taylor <pjt47@cam.ac.uk>, HTML-related tests <public-html-testsuite@w3.org>
CC: 王铁套 <wang.tietao@outlook.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 March 2013 13:18:59 GMT