[whatwg] A question about the drawimage() canvas function
robert at ocallahan.org
Sun Mar 3 12:39:16 PST 2013
On Mon, Mar 4, 2013 at 3:03 AM, Glenn Maynard <glenn at zewt.org> wrote:
> 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.
Sure, I'm not going to do this unilaterally.
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]
More information about the whatwg