Re: [whatwg] img loading events - can load & error fire for the same image?

2013-09-11 Thread Ian Hickson
On Mon, 22 Jul 2013, Jake Archibald wrote: > > Take http://jsbin.com/ifihex/1/edit - the image on this page receives a > valid & full HTTP request, but the received data isn't valid image data > (it's html). > > Starting from > http://www.whatwg.org/specs/web-apps/current-work/multipage/embedd

Re: [whatwg] img loading events - can load & error fire for the same image?

2013-07-22 Thread Jake Archibald
On 12 July 2013 20:12, Ian Hickson wrote: > On Fri, 5 Apr 2013, Jake Archibald wrote: >> >> Been reading the steps for image downloading - >> http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#update-the-image-data >> ... >> Unless I'm reading it wrong, that sugges

Re: [whatwg] img loading events - can load & error fire for the same image?

2013-07-12 Thread Ian Hickson
On Fri, 5 Apr 2013, Jake Archibald wrote: > > Been reading the steps for image downloading - > http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#update-the-image-data > > As far as I can tell: > > Step 12 "If selected source is null" is the only step where an "er

[whatwg] img loading events - can load & error fire for the same image?

2013-04-05 Thread Jake Archibald
Been reading the steps for image downloading - http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#update-the-image-data As far as I can tell: Step 12 "If selected source is null" is the only step where an "error" event can be fired and abort before step 14. Step