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

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 UTC