W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: line-height suggestions and easier alignment

From: Alan Stearns <stearns@adobe.com>
Date: Sun, 8 Jan 2012 08:08:26 -0800
To: Alan Gresley <alan@css-class.com>
CC: "www-style@gtalbot.org" <www-style@gtalbot.org>, Peter Sorotokin <psorotok@adobe.com>, Richard Le Poidevin <ric@betleywhitehorne.com>, W3C www-style mailing list <www-style@w3.org>
Message-ID: <CB2EFF7A.A24E%stearns@adobe.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT