W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2010

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

From: Diego Perini <diego.perini@gmail.com>
Date: Fri, 9 Jul 2010 22:26:47 +0200
Message-ID: <AANLkTimlLaqPA_hSjKOb_gTghRaLHH_rNOuxOqm8JJ0V@mail.gmail.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:24 UTC