[whatwg] <img> element: downloading a resource
Anne van Kesteren
annevk at opera.com
Thu Apr 10 17:15:28 PDT 2008
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.
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
More information about the whatwg
mailing list