Re: line-height suggestions and easier alignment

On 1/7/12 11:43 PM, "Alan Gresley" <alan@css-class.com> wrote:

> On 5/01/2012 8:12 AM, Alan Stearns wrote:
> 
>> Specifically the part of 10.8.1 that divides the leading and adds half to
>> the top and half to the bottom. Not all typographic systems work that way
>> (as you found in your wikipedia research). Adding a property to modify how
>> leading is applied could ease the impedance mismatch.
> 
> This can be done but it has to be a change to the CSS line box. What you
> are proposing is a new CSS box within the current CSS line box which has
> upper and lower parts that can behave like adjustable leading.

As Anton noted, there is no new box. All the new property would control is
the construction of the existing inline box. Instead of adding half of the
leading calculation above and below the glyphs, the entire leading
calculation could be applied above or below the glyphs.

Thanks,

Alan

Received on Sunday, 8 January 2012 16:09:00 UTC