W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2007

[whatwg] getImageData()

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 11 May 2007 23:06:02 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0705112253110.17396@dhalsim.dreamhost.com>
On Tue, 6 Mar 2007, Anne van Kesteren wrote:
>
> The specification should probably indicate that for non-positive 
> arguments for the widht and height this method must throw an 
> INDEX_SIZE_ERR exception.

Done.

> It would also be nice if it was made more explicit that the height and 
> width you ask for with getImageData() don't necessarily reflect the 
> height and width attributes of the ImageData object you get back.

Done.

> Maybe putImageData() should throw a TYPE_MISMATCH_ERR for non ImageData 
> objects as first argument? Similar to drawImage()...

Done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 11 May 2007 16:06:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:55 UTC