[whatwg] createImageData -> new ImageData() ?

Ian Hickson ian at hixie.ch
Sun Feb 10 01:21:34 PST 2008


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.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list