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

Diego Perini diego.perini at gmail.com
Fri Jul 9 13:26:47 PDT 2010


On Fri, Jul 9, 2010 at 5:46 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> 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
>

No, I tested that using Firebug (and Opera Dragonfly) typing the commands
directly in the console.

Diego Perini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100709/e37a5734/attachment-0001.htm>


More information about the whatwg mailing list