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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sun, 24 Mar 2013 21:56:32 +1300
Message-ID: <CAOp6jLZUy-EjVyRNPp2sT4K6jHkr5uj1eUUDUWE+Y2waPMHT1w@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: "Kang-Hao \(Kenny\) Lu" <kanghaol@oupeng.com>, Glenn Maynard <glenn@zewt.org>, 王铁套 <wang.tietao@outlook.com>, WHAT Working Group <whatwg@whatwg.org>
On Sat, Mar 23, 2013 at 3:08 PM, Rik Cabanier <cabanier@gmail.com> wrote:

> In light of this, I think we should proceed with changing the W3C canvas
> spec (and the implementations) so drawImage doesn't throw anymore on zero
> sized image sources.
> Being more forgiving could potentially cause other problems but it's not
> very likely.

Are you agreeing with my proposal that drawImage should never throw at all?

Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr nhgubevgl
bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng nzbat
lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe fynir
— whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq gb
tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28]
Received on Sunday, 24 March 2013 08:56:58 UTC

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