[whatwg] getImageData()

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