RE: Canvas, Audio, Video Test Submission

Thanks, any other feedback?  If not I'd like to have these canvas tests approved.

-Kris

-----Original Message-----
From: public-html-testsuite-request@w3.org [mailto:public-html-testsuite-request@w3.org] On Behalf Of Philip Taylor
Sent: Thursday, June 24, 2010 9:13 AM
To: Kris Krueger
Cc: 'public-html-testsuite@w3.org' (public-html-testsuite@w3.org)
Subject: Re: Canvas, Audio, Video Test Submission

Kris Krueger wrote:
> In an effort to improve browser interoperability, Microsoft has submitted more HTML5 tests for audio, video and canvas.
> Microsoft welcomes feedback on the tests if they are incorrect per the HTML5 specification.
> 
> http://test.w3.org/html/tests/submission/Microsoft/

I've checked all the tests in
http://test.w3.org/html/tests/submission/Microsoft/canvas/ and they look valid to me, except canvas_pixelmanipulation_imagedata_001.htm is
incorrect: it calls ctx.getImageData(0, 0, 1, 1) and then assumes imgdata.width == 1. The spec says: "Note: The width and height (w and h) might be different from the sw and sh arguments to the above methods, e.g. if the canvas is backed by a high-resolution bitmap, or if the sw and sh arguments are negative". The test should be changed so that it works regardless of the initial value of imgdata.width.

--
Philip Taylor
pjt47@cam.ac.uk

Received on Monday, 28 June 2010 23:10:12 UTC