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

Re: line-height suggestions and easier alignment

From: Gérard Talbot <www-style@gtalbot.org>
Date: Wed, 4 Jan 2012 18:23:46 -0800
Message-ID: <8c4218f1cef7023e7b49fec3c4a4a066.squirrel@gtalbot.org>
To: "Peter Sorotokin" <psorotok@adobe.com>
Cc: "Alan Gresley" <alan@css-class.com>, "Richard Le Poidevin" <ric@betleywhitehorne.com>, "W3C www-style mailing list" <www-style@w3.org>

Le Mer 4 janvier 2012 16:32, Peter Sorotokin a écrit :
> On 1/4/12 12:13 PM, "Gérard Talbot" <www-style@gtalbot.org> wrote:
>>Le Mer 4 janvier 2012 11:27, Peter Sorotokin a écrit :
>>> Just to add two cents here: mismatch in leading model (and in vertical
>>> spacing) is indeed a huge pain for tools like InDesign.
>>I do not understand why you are not the first person to say that Adobe
>>tool like InDesign is not perfectly, entirely compliant with CSS 2.1 to
>>begin with, to start with and it should be entirely compliant with CSS
>> 2.1
>>(and possibly ATAG 1.0). Standards are mutually beneficial to compliant
>>There is no compatibility/incompatibility problems (headaches,
>> nightmares)
>>if we all follow and implement W3C web standards.
> Gérard,
> I do not understand your point. In what sense do you expect InDesign to be
> CSS-2.1-compliant, given that there are tons of features in InDesign that
> are not addressed even in CSS3?


I do not use InDesign. I assumed from reading this thread - maybe I'm
wrong here - that InDesign is an WYSIWYG HTML editor with CSS editing
capabilities. If this is the case and if InDesign does not split leading
above and below content area, then such authoring tool is not


> The problem occurs when a multi-line paragraph with large leading (say,
> line-height:2) gets broken across two pages. Proper typography requires
> top edge of the first line on the second page to be aligned with the top
> edge of the printable area of the page. In CSS it will be shifted down
> one-half of the leading. On the first page it can be "fixed" using
> negative margin, but not on the second page. (And negative margin trick,
> of course, only works when line-height does not change in the paragraph
> and hen there is no background).

Okay. I understand that issue now.

regards, Gérard
CSS 2.1 Test suite RC6, March 23rd 2011

Contributions to CSS 2.1 test suite

Web authors' contributions to CSS 2.1 test suite
Received on Thursday, 5 January 2012 02:26:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:09 UTC