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

David Woolley wrote:
>>This would be because Mozilla, Opera, and Safari are following
>> the W3C spec.
> 
> If that is the case, the specification is unreasonable, as, in my view, 
> the only sensible behaviour is for the ratio, not the absolute 
> value to inherit.

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

<body style="font-size: 10px; line-height: 10px">
   <div style="font-size: 20px" />
</body>

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

-Boris

Received on Sunday, 11 April 2004 17:58:46 UTC