W3C home > Mailing lists > Public > public-html-testsuite@w3.org > June 2010

RE: Canvas, Audio, Video Test Submission

From: Kris Krueger <krisk@microsoft.com>
Date: Mon, 28 Jun 2010 23:09:35 +0000
To: Philip Taylor <pjt47@cam.ac.uk>
CC: "'public-html-testsuite@w3.org' (public-html-testsuite@w3.org)" <public-html-testsuite@w3.org>
Message-ID: <FA9085650D2F8B4A9D501ED9D9706E9A125720EE@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 28 June 2010 23:10:12 GMT