[whatwg] <img> element: downloading a resource

On Fri, 11 Apr 2008, Anne van Kesteren wrote:
> On Fri, 11 Apr 2008 02:03:45 +0200, Ian Hickson <ian at hixie.ch> wrote:
> > On Tue, 7 Nov 2006, Anne van Kesteren wrote:
> > > 
> > > The definition of downloading a resource must be clear that even if 
> > > the resource does not need to be downloaded (because it has been 
> > > cached or something) the load event still needs to be dispatched (or 
> > > the error event, in case it contains errors).
> > 
> > Isn't this an HTTP issue?
> 
> I suppose you could call it that. The main issue is that people are 
> confused with the current wording and assume it either doesn't cover 
> cached images or that in case of images being cached the text does not 
> apply. (The Opera browser has for some time not dispatched those events 
> because of incorrect assumptions.)
> 
> So a generic note somewhere that downloading can refer to retrieving it 
> over the network or reading it from the cache, etc. would be good.

Does the current text do this to your satisfaction?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 26 November 2008 16:20:31 UTC