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

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 UTC