[whatwg] A question about the drawimage() canvas function

Glenn Maynard glenn at zewt.org
Sun Mar 3 06:03:09 PST 2013


On Sun, Mar 3, 2013 at 3:32 AM, Robert O'Callahan <robert at ocallahan.org>wrote:

> It would be really simple if we never throw and just paint nothing when we
> don't have a valid image or the source has no pixels. Changing cases from
> throwing to not throwing is very unlikely to cause compatibility risk. Why
> not just do it?


It's still going to change something we nearly have interop on.  I'd at
least wait for Ian's input before changing behavior, especially since
nobody seems to know what the zero-size exception is there for.

-- 
Glenn Maynard



More information about the whatwg mailing list