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

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

Received on Friday, 9 July 2010 13:26:47 UTC