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

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;

or

 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