[ 
https://issues.apache.org/jira/browse/FOP-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16668523#comment-16668523
 ] 

Dan Caprioara commented on FOP-2820:
------------------------------------

I tested with both AntennaHouse and XEP, and they do not repeat the top, bottom 
borders at the page breaks on the block containers as FOP does. In the 
specification and I do not see any difference between the fo:block and the 
fo:block-container regarding to borders/padding 
(https://www.w3.org/TR/xsl11/#d0e9451). So in my opinion this is a FOP bug.

> [PATCH] Top/Bottom borders and padding of block containers are repeated after 
> the page break
> --------------------------------------------------------------------------------------------
>
>                 Key: FOP-2820
>                 URL: https://issues.apache.org/jira/browse/FOP-2820
>             Project: FOP
>          Issue Type: Bug
>          Components: layout/block
>    Affects Versions: 2.3
>            Reporter: Dan Caprioara
>            Priority: Major
>         Attachments: block-container_borders-padding-and-page-breaks.xml, 
> fo-block-container.png, fo-block.png, fop.patch
>
>
> There is a big difference between a block and a block-container regarding the 
> borders and padding when the page breaks.
> The borders should be like this (this is a plain {{fo:block}}):
>  !fo-block.png!
> But instead is like this ( this is a {{fo:block-container -}} ignore the 
> text, chck the borders):
>  !fo-block-container.png!
> If you have a longer text in the block container and it spans on several 
> pages then it starts to bleed out of the page.
> I found a fix for that, I will post it below.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to