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

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

From: Rik Cabanier <cabanier@gmail.com>
Date: Sat, 2 Mar 2013 13:26:35 -0800
Message-ID: <CAGN7qDAh-LnQoQGcNEE4OmYm19GFSEF8-MHgHsZa16TrRu3Q=A@mail.gmail.com>
To: robert@ocallahan.org
Cc: (wrong string) Ž‹“— <wang.tietao@outlook.com>, WHAT Working Group <whatwg@whatwg.org>
On Fri, Mar 1, 2013 at 1:28 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> I actually just wrote a patch to implement the spec behavior in Firefox.
> I think changing behavior from "throw" to "not throw" shouldn't have any
> compatibility concerns. I also think that "not throw" is better here than
> throwing; it's simpler to not distinguish "finished downloading but
> decoding failed" from "download in progress (but very slow perhaps)".
> In fact I question why the spec has us throw for zero-sized canvas source.
> It would seem to me to be simpler/better to just not draw and not throw in
> that case also.

Are you going ahead with this patch?
This will change current behavior. If we agree ignoring the error makes
more sense, we will have to change ie and wk as well as patch the canvas
spec more.
Received on Saturday, 2 March 2013 21:27:02 UTC

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