Re: line-height suggestions and easier alignment

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.
>>
>>Peter,
>>
>>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
>>parties.
>>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?
>

Peter,

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
CSS-2.1-compliant.


[snipped]


> 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
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Thursday, 5 January 2012 02:26:53 UTC