W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: [css-inline] computed value and inheritance of line-height:normal

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 25 Jun 2013 11:02:37 -0700
Message-ID: <CAAWBYDB_N0yJekpYt8usy7t27HoqXX1AYTW_V9PVvioYQYmCpQ@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: www-style list <www-style@w3.org>
On Mon, Jun 24, 2013 at 5:28 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> 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’".

Inline is still unmaintained at the moment.  Look to 2.1, or, when
appropriate, Fonts or Text for now.

Received on Tuesday, 25 June 2013 18:03:25 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:29 UTC