Andreas L. Delmelle commented on FOP-2478:

I am inclined to accept this as a bug.

Reading the XSL 1.1 Rec - 7.6.1, absolute positioning is handled via 
top/bottom/left/right properties, specifying offsets with respect to the 
nearest ancestor reference area. A bit further down, in the restrictions for 
paged media, it is stated that the areas generated by absolute-positioned 
objects become descendants of the page, etc.

I would take that to mean that the offsets are with respect to the 
page-reference-area, not the region-reference-area, which seems to be what FOP 
is doing.

> Incorrect position of block-container with fixed absolute-position
> ------------------------------------------------------------------
>                 Key: FOP-2478
>                 URL: https://issues.apache.org/jira/browse/FOP-2478
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 1.1, trunk, 2.0
>            Reporter: Jan Tošovský
>         Attachments: block-container-fop.pdf, block-container-xep.pdf, 
> block-container.fo
> In the attached example there is specified a distance of 180 mm between the 
> bottom edge of block-container and bottom edge of the page. However, in FOP 
> output this distance is different, bigger. Like both top and bottom margins 
> (2x15 mm) would be added to this dimension.

This message was sent by Atlassian JIRA

Reply via email to