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

Re: [CSS21] [css3-page] page-break collapsing

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 11 Jun 2012 16:11:16 -0700
Message-ID: <4FD67B14.5010700@inkedblade.net>
To: www-style@w3.org
On 11/29/2011 08:45 AM, fantasai wrote:
> At TPAC we resolved to clarify CSS2.1 to say that the 'page-break-before' and
> 'page-break-after' properties don't create a break if you're at the top of the
> page, where at the top of the page means no content has been placed, with
> borders not counting as content but empty zero-height blocks counting as content.
> Here's my proposed text:

Ok, I've checked in these changes to CSS3 Paged Media. The resulting list item
looks like this:

   <li><strong>Rule A:</strong> Breaking at <a href="#brk-btw-blocks">(1)</a>
   is allowed only if the 'page-break-after' and 'page-break-before' properties
   of all the elements generating
   boxes that meet at this margin allow it, which is when at least one of them has
   the value 'always', 'left', or 'right', or when all of them are 'auto'.
   (For a box before the margin, its 'page-break-after' value is considered;
   for a box after the margin its 'page-break-before' value is considered.)
   A box meets at this margin if it is one of the block-level (or table row) siblings on
   either side of the margin or if it is a block-level/table-row last child (for boxes
   before the margin) or first child (for boxes after the margin) of a box
   that also meets at this margin.

~fantasai
Received on Monday, 11 June 2012 23:11:48 GMT

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