[whatwg] A question about the drawimage() canvas function
cabanier at gmail.com
Sun Mar 24 08:29:47 PDT 2013
On Sun, Mar 24, 2013 at 1:56 AM, Robert O'Callahan <robert at ocallahan.org>wrote:
> On Sat, Mar 23, 2013 at 3:08 PM, Rik Cabanier <cabanier at 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?
I didn't know that that was your proposal. This thread was just for ero
We have interop on exceptions when the image is not in the ready state 
so we shouldn't change that (even though I agree there shouldn't have been
an exception in the first place)
For exception-free drawimage calls, people can use the ImageBitmap class.
More information about the whatwg