Re: <canvas> JPEG quality

Ian Hickson wrote:
> Added a way to pass the JPEG quality to toDateURL().

The spec doesn't seem to clearly define what to do when the number is 
outside the range of 0.0 to 1.0.  Should it use some default value?  It 
also doesn't define what the default value should be.

The IDL doesn't list the method as being able to take extra arguments. 
It only includes these two:

   DOMString toDataURL();
   DOMString toDataURL(in DOMString type);

The latter of those should be changed to:

   DOMString toDataURL(in DOMString type, [Variadic] in any args);

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Monday, 16 June 2008 00:50:28 UTC