[whatwg] Default value of "complete" attribute on new Image objects

Boris Zbarsky bzbarsky at MIT.EDU
Fri Jul 9 08:46:57 PDT 2010


On 7/9/10 3:23 AM, Diego Perini wrote:
> On FF after setting src="" the "complete" property return true while on
> Opera it return false.

We special-case src="" and don't do any loading; iirc the spec calls for 
that at this point.

> On FF after setting src="/nonexisting.gif" the "complete" property
> remains true

Were you testing this from a file:// URI or something?  That shouldn't 
happen over http.

-Boris



More information about the whatwg mailing list