W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2008

[whatwg] createImageData -> new ImageData() ?

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 10 Feb 2008 11:14:23 +0100
Message-ID: <op.t6az19yl64w2qv@annevk-t60.oslo.opera.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:00 UTC