Bug 48329 - Block in double nested fo:inline overlaps following content
Summary: Block in double nested fo:inline overlaps following content
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: all
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 03:24 UTC by Vincent Hennebert
Modified: 2012-04-07 01:52 UTC (History)
0 users



Attachments
Sample FO file showing the issue (734 bytes, text/x-xslfo)
2009-12-02 03:24 UTC, Vincent Hennebert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Hennebert 2009-12-02 03:24:59 UTC
Created attachment 24657 [details]
Sample FO file showing the issue

See attached file. There is an fo:block inside an fo:inline inside another fo:inline. The block overlaps the content that comes after it in the fo:inline. It's not the space-before that is not taken into account since the rendering is wrong even without it. The space-before just makes the problem more obvious.

The problem disappears if one of the fo:inline is removed, or replaced with an fo:wrapper.

A quick debugging session showed that the problem lies somewhere in the area tree. The sequence of Knuth elements is correctly generated.
Comment 1 Glenn Adams 2012-04-07 01:43:59 UTC
resetting P2 open bugs to P3 pending further review