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

RE: HTML Testing Task Force Conf Call Agenda 9/21/2010

From: Kris Krueger <krisk@microsoft.com>
Date: Tue, 21 Sep 2010 14:32:57 +0000
To: James Graham <jgraham@opera.com>
CC: "'public-html-testsuite@w3.org'" <public-html-testsuite@w3.org>, "Philip Taylor <pjt47@cam.ac.uk> (pjt47@cam.ac.uk)" <pjt47@cam.ac.uk>
Message-ID: <FA9085650D2F8B4A9D501ED9D9706E9A14AE05EC@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
For #1 - yes lossy

A better test would not have a 'tolerance' for passing and failing.
I see Firefox, Safari and IE9 all fail, though they get fail because the tolerance is too high.

For #2 http://test.w3.org/html/tests/submission/PhilipTaylor/canvas/toDataURL.jpeg.quality.notnumber.html


-----Original Message-----
From: James Graham [mailto:jgraham@opera.com] 
Sent: Tuesday, September 21, 2010 2:17 AM
To: Kris Krueger
Cc: 'public-html-testsuite@w3.org'; Philip Taylor <pjt47@cam.ac.uk> (pjt47@cam.ac.uk)
Subject: Re: HTML Testing Task Force Conf Call Agenda 9/21/2010

On 09/21/2010 03:07 AM, Kris Krueger wrote:

> Canvas Tests with Bugs
> #1 
> http://test.w3.org/html/tests/submission/PhilipTaylor/canvas/toDataURL
> .jpeg.quality.basic.html
>
> This test uses a tolerance for pass/fail.
> The spec doesn't guarantee that the pixel array from toDataURL will match across lossless images.

You mean lossy images, right? I'm not sure exactly what your bug report is. You think we can't have tests that check for approximate values, or something else?

> #2 
> http://test.w3.org/html/tests/submission/PhilipTaylor/canvas/toDataURL
> .jpeg.quality.basic.html
>
> '0.01' should be valid input.
> Canvas Spec (http://www.w3.org/TR/html5/the-canvas-element.html)
> "For the purposes of these rules, an argument is considered to be a 
> number if it is converted to an IDL double value by the rules for handling arguments of type any in the Web IDL specification.
> [WEBIDL]".

Is this the right URL for this test? I can't see the problem you allude to here.
Received on Tuesday, 21 September 2010 14:33:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 September 2010 14:33:36 GMT