Bug 53210 - adjoining blocks with break-before="page" break-after="page" cause extra empty page
Summary: adjoining blocks with break-before="page" break-after="page" cause extra empt...
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: trunk
Hardware: All All
: P2 minor
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 22:30 UTC by Luis Bernardo
Modified: 2012-05-09 22:31 UTC (History)
0 users



Attachments
test FO file (820 bytes, application/octet-stream)
2012-05-09 22:30 UTC, Luis Bernardo
Details
PDF output of test.fo (6.82 KB, application/pdf)
2012-05-09 22:31 UTC, Luis Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Bernardo 2012-05-09 22:30:50 UTC
Created attachment 28751 [details]
test FO file

This causes five pages instead of four:

      <fo:block>
        <fo:block>page 1</fo:block>
        <fo:block break-before="page" break-after="page">page 2</fo:block>
        <fo:block break-before="page" break-after="page">page 3</fo:block>
        <fo:block>page 4</fo:block>
      </fo:block>

The empty extra page happens between page 2 and page 3.
Comment 1 Luis Bernardo 2012-05-09 22:31:22 UTC
Created attachment 28752 [details]
PDF output of test.fo