W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

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

From: Glenn Maynard <glenn@zewt.org>
Date: Sun, 3 Mar 2013 08:03:09 -0600
Message-ID: <CABirCh_uyXV+Wkjo6HagkBmRzrrNCQC-W0JqQRd0TQ0vmwCcgQ@mail.gmail.com>
To: robert@ocallahan.org
Cc: "Kang-Hao \(Kenny\) Lu" <kanghaol@oupeng.com>, 王铁套 <wang.tietao@outlook.com>, Rik Cabanier <cabanier@gmail.com>, WHAT Working Group <whatwg@whatwg.org>
On Sun, Mar 3, 2013 at 3:32 AM, Robert O'Callahan <robert@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
Received on Sunday, 3 March 2013 14:09:39 UTC

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