[whatwg] <img> element: downloading a resource
ian at hixie.ch
Thu Apr 10 23:36:15 PDT 2008
On Tue, 7 Nov 2006, Alexey Feldgendler 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?
That seems out of scope for HTML5.
> And what about
> img.src = img.src;
> The image surely needs not be downloaded again, but should the load
> event fire?
I've tried to clarify this, modulo the remaining lack of a definition for
"download", which is a general issue for the spec.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg