W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] <img> element: downloading a resource

From: Alexey Feldgendler <alexey@feldgendler.ru>
Date: Tue, 07 Nov 2006 23:05:27 +0600
Message-ID: <op.tinofdu71h6og4@pancake.feldgendler.ru>
On Tue, 07 Nov 2006 15:39:56 +0600, Anne van Kesteren  
<fora at annevankesteren.nl> 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).

Even for data: URIs?

And what about

img.src = img.src;

?

The image surely needs not be downloaded again, but should the load event  
fire?


-- 
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com
Received on Tuesday, 7 November 2006 09:05:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC