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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 09 Jul 2010 08:46:57 -0700
Message-ID: <4C374471.6050604@mit.edu>
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.

Received on Friday, 9 July 2010 08:46:57 UTC

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