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

Re: [css-values] Line-height relative length units 'lh' and 'rlh'

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Mon, 2 Jun 2014 10:08:46 +0200
To: www-style list <www-style@w3.org>
Message-Id: <88A7A2DE-EC1E-400B-BD8C-78780864DE65@crissov.de>
MURAKAMI Shinyu <murakami@antenna.co.jp>:

> I would like to propose new relative length units:
>   'lh'    line-height of the element
>   'rlh'   line-height of the root element

I believe it can be convenient to refer to lines in height measurements like characters ‘ch’ in width, but the other replies do make good points when they say that lines can be higher than specified and that there’s Line Grid and numeric values are probably better.

Anyhow, a traditional abbreviation for “line” is ‘ln’, but the full word is also just 4 letters, so I’d prefer either

 height: 20ln;


 height: 20line;

The usual caveats for ‘1’ and ‘l’ looking alike in some typefaces apply, of course.
Received on Monday, 2 June 2014 08:09:19 UTC

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