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

On Sunday 24 January 2010, MURAKAMI Shinyu wrote:
> Hi,
> 
> Yuzo Fujishima <yuzo@google.com> wrote on 2010/01/22 11:02:53
> 
> > 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.
> 
> I agree with you. I also believe the page-break-before:always should not
> generate a blank page at the beginning of a document.
> 
I also agree. If there already is a page-break then page-break-before:always 
has no additional effect. I wauld treat the beginning of the document as an 
existing page-break. Similar A page-break at the end of the document would 
extend the document height to the bottom of the last page but not including a 
new empty page. 


`Allan

Received on Sunday, 24 January 2010 11:00:45 UTC