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

[css3-page] page-break-after:always just before the end of body

From: Yuzo Fujishima <yuzo@google.com>
Date: Fri, 22 Jan 2010 11:02:53 +0900
Message-ID: <9124e09b1001211802o2964b708y4092477843015471@mail.gmail.com>
To: www-style@w3.org
Suppose that
  there is a block-level element just before the end of body
and that
  the element has page-break-after:always property.
(See an example below.)

Should the pages break there? In other words, should a content-empty page
follow the penultimate page?

http://dev.w3.org/csswg/css3-page/#forced-pg-brk says:
no content-empty pages are generated by page-break properties, except for
at most one content-empty page as may be required by ‘right’ and ‘left’
values to position ensuing content on a right- or left-facing page. 

Although the above line is for when multiple page-break-* properties apply
at a margin,
it seems to be a good general guideline.

I believe vast majority of users don't want a content-empty page at the end.


.section {page-break-after:always;}
  <div class="section">
  <div class="section">

Received on Friday, 22 January 2010 02:03:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:42 UTC