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

Re: Canvas, Audio, Video Test Submission

From: Philip Taylor <pjt47@cam.ac.uk>
Date: Thu, 24 Jun 2010 17:13:00 +0100
Message-ID: <4C23840C.2020906@cam.ac.uk>
To: Kris Krueger <krisk@microsoft.com>
CC: "'public-html-testsuite@w3.org' (public-html-testsuite@w3.org)" <public-html-testsuite@w3.org>
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
Received on Thursday, 24 June 2010 16:13:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:49:36 UTC