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 12:13:34 -0800
Message-ID: <4b76632dd537378f0c29d2180f772d34.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 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.

> It can be
> partially worked around (if there are no backgrounds) with negative
> margins, but not in paginated or multi-column environment. There needs to
> be another property that would control top margin of the elements that
> have page/column/region break inside them (call it margin-top-break).
> Currently margin is defined to be zero in such cases.

Which cases?

User agent stylesheet have default margin values for various elements.

p {margin: 1em 0em;}
h1 {margin: 0.67em 0em;}

CSS2.1 User Agent Style Sheet Defaults


Appendix D. Default style sheet for HTML 4 (informative, not normative)

provide more information on all this.

> If leading model is going to become more flexible,

I am inclined to be against adding anything else  until the problems
listed, carefully explained with regards to section 10.8 of CSS 2.1 are
not addressed to begin with. Anything else added into the leading model
(CSS3) needs to be extremely very well justified, substantiated.

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 Wednesday, 4 January 2012 20:14:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:54 UTC