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: Mon, 4 Mar 2013 09:39:16 +1300
Message-ID: <CAOp6jLb_JSM1KuBF9xuSD2sYCjXu9atzV6HYk7mJcCyYRjJ8qg@mail.gmail.com>
To: Glenn Maynard <glenn@zewt.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 Mon, Mar 4, 2013 at 3:03 AM, Glenn Maynard <glenn@zewt.org> wrote:

> 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.
>

Sure, I'm not going to do this unilaterally.

Rob
-- 
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, 3 March 2013 20:39:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 3 March 2013 20:39:43 GMT