Re: line-height: <length> should be revoked

> That's exactly what happens when you set the line-height as a ratio (eg 
> "line-height: 1.5").  But if the page has:

That's good, but the first respondent seemed to be saying that 
line-height inherited as a size resolved to absolute units, because
the example was 1.2em and 20px resulting in 14.4px instead of 
24px and he seemed to be saying that that was what the specification
required.  I wrote "if this is the case" because it didn't seem right.
Specifically, the thread root article said that this situation caused
lines to overlap, whereas inheriting as 1.2em would cause a reasonable
spacing, and the respondent was saying that the overlap was the result
of correct implementation.

> do you really expect the line-height of the div to be 20px?

Of course not.  I don't expect good designers to ever use pixel line-heights,
though, although I expect real life web pages (and proxy and browser error
pages) to make use of them, based on practical experience of pages that
won't tolerate having author sizes disabled.  I would like any browser
option that disables author font sizes to also disable author line-heights.

Received on Sunday, 11 April 2004 18:32:13 UTC