- From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
- Date: Tue, 26 Jun 2012 22:38:59 +0800
- To: WWW Style <www-style@w3.org>
(12/06/26 22:15), Boris Zbarsky wrote: > 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); } Hmm... OK >> 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. 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 or it's just a bug? The Quirks Mode document doesn't seem to have this. Cheers, Kenny
Received on Tuesday, 26 June 2012 14:39:30 UTC