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

Robert O'Callahan robert at ocallahan.org
Sun Mar 3 01:25:56 PST 2013


On Sat, Mar 2, 2013 at 10:53 AM, Rik Cabanier <cabanier at gmail.com> wrote:

> I just wrote a patch to WebKit to add the throwing behavior :-)
> (Not submitted yet though!)
>
> So, with your patch, you would only throw if you use a zero sized canvas
> element or would you never throw?
>

The former.

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]



More information about the whatwg mailing list