- From: Cameron McCormack <cam@mcc.id.au>
- Date: Tue, 25 Jun 2013 10:28:14 +1000
- To: www-style list <www-style@w3.org>
It's not clear to me from
http://dev.w3.org/csswg/css-inline/#line-height exactly what the
computed value for line-height:normal is and what kind of value it
should inherit.
The text currently says:
normal
Tells user agents to set the computed value to a "reasonable" value
based on the font size of the element. The value has the same
meaning as <number>. We recommend a computed value for ‘normal’
between 1.0 to 1.2. The user agent may allow the <number> to vary
depending on the metrics of the font(s) being used.
Having "the same meaning as <number>" makes it sound to me like it
behaves just like you specified the reasonable number that the UA has
chosen, in which case the computed value would be that number multiplied
by the font size, and the number would be inherited. On the other hand,
the text talks about the computed value being between 1.0 and 1.2, so
maybe the computed value is a number instead. Unless "computed value
for ‘normal’" does not mean the same as "computed value for line-height
when it has the value ‘normal’", and instead means "the reasonable
number the UA uses when you specify ‘normal’".
Received on Tuesday, 25 June 2013 00:28:50 UTC