W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css3-flexbox] Fixing the "replaced elements may or may not be inline" issue

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 26 Jun 2012 10:50:56 -0400
Message-ID: <4FE9CC50.3090004@mit.edu>
To: www-style@w3.org
On 6/26/12 10:38 AM, Kang-Hao (Kenny) Lu wrote:
> I had this as a separate proposal because I noticed that in Gecko's
> quirks mode, when both 'width' and 'height' are specified, an<img>
> rendered as replaced element even when the image fails to load. Is that
> something required to render legacy content

Yes.  It's very common in legacy content to have spacer gifs in tables 
like so:

   <img src="spacer" width="5" height="300">

or whatever.  A large fraction of the time, the src is 404 (and might 
have been 404 all along, in fact).

This is very rare in standards-mode pages, which is why the "force 
replaced element if sized" behavior is limited to quirks mode.

> The Quirks Mode document doesn't seem to have this.

It probably should.  ;)

-Boris
Received on Tuesday, 26 June 2012 14:51:27 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT