[whatwg] createImageData -> new ImageData() ?

On Sun, 10 Feb 2008 10:21:34 +0100, Ian Hickson <ian at hixie.ch> wrote:
> On Sun, 3 Feb 2008, Anne van Kesteren wrote:
>> Why not give the object a constructor? I think that's cleaner. Also,
>> Opera already supports that :-)
>
> The relationship between the height and width arguments and the height  
> and width of the ImageData structure returned can vary on a per-canvas  
> basis.

That would mean that passing ImageData around between two <canvas>  
elements doesn't always work as expected. I think that's highly  
undesirable. Is there any implementation where we know this will the case?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Sunday, 10 February 2008 02:14:23 UTC