- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 16 May 2011 12:13:05 -0400
- To: www-style@w3.org
On 5/16/11 11:37 AM, Alex Mogilevsky wrote: > Default UA stylesheets are not normative. Whatever they say,<img> is inline-block by default, "display:inline" on image and on other replaced elements means "display:inline-block". No, it does not. If you then look at the computed style, it'll come back as "inline", not "inline-block". Now the _rendering_ is the same for replaced elements whether they're inline-block or not... mostly. For replaced elements with nontrivial baselines, even that's not clear. But that's a consequence of the spec explicitly having different layout rules for replaced and non-replaced display:inline elements. -Boris
Received on Monday, 16 May 2011 16:13:34 UTC