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

Christoph Päper <christoph.paeper@crissov.de> wrote on 2014/06/02 17:08:46
> 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.

Thanks for your advice.
Yes, 'ln' or 'line' will be more natural for the "number of lines" unit.
However, I prefer 'lh' because it is not exactly such unit. Rather, 
in my idea, it is a relative length unit, that refers to the 'line-height' 
property value.


Regards,

Shinyu Murakami
Antenna House

Received on Tuesday, 3 June 2014 18:57:40 UTC