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

On 6/26/12 9:11 AM, Kang-Hao (Kenny) Lu wrote:
> which is also a bit confusing to me. How can a non-replaced element
> render an extra icon?

   img:broken::before { content: url(broken-image-icon); }

> Proposal E: An<img>  is always rendered as replaced element, no matter
> whether the image is loadable.

This makes it impossible to read the alt text for most images, in 
practice, unless the alt text is just 2-3 words.  Which is why Gecko 
switched away from that behavior.

> Proposal E': An<img>  with a 'width'/'height' attribute is always
> rendered as replaced element, no matter whether the image is loadable.

See above.

> * Authors use<img>s directly inside an element with 'display: flex;'
> * The<img>s fail to load

Say the user has image loading turned off, yes.

> * Authors don't bother to test situations when<img>s fails to load

100% guaranteed.  ;)

-Boris

Received on Tuesday, 26 June 2012 14:15:43 UTC