W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

Re: [csswg-drafts] [css-rhythm] Handle margins at breaks for block-step-sizing

From: Dave Cramer via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Oct 2017 01:44:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-339187559-1508895883-sysbot+gh@w3.org>
There might be a complication. With headings, often the space below the heading is fixed, but we're free to adjust the space above. The space below is important, because we want to keep the visual connection to the text that the head describes. But when a head occurs at the top of a column, sometimes it needs to be pushed down a bit so that everything below it aligns properly. See [latinreq](https://www.w3.org/TR/dpub-latinreq/#heads-at-the-top-of-a-page) for a very simple illustration.

Here's a screenshot from a little toy example. In this case, the h2 needs 4pt of space above (shown dramatically in red) at the column break. If the heading were two lines it wouldn't need any. 
<img width="1072" alt="unforcedbreak" src="https://user-images.githubusercontent.com/5687700/31976242-4ed9644a-b904-11e7-9900-92981e8abc55.png">


-- 
GitHub Notification of comment by dauwhe
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1260#issuecomment-339187559 using your GitHub account
Received on Wednesday, 25 October 2017 01:44:48 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:19 UTC