Bug 43844

Summary: Extra blank lines added upon weird combinations of block-container, line-height and others
Product: Fop - Now in Jira Reporter: Isaac Shabtay <isaac>
Component: fo treeAssignee: fop-dev
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: trunk   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Demonstration

Description Isaac Shabtay 2007-11-12 07:59:10 UTC
Hello.
Here is a very strange phenomenon experienced with the latest revision (594079).

Consider the attached XSL-FO. As you may notice, there are unexplained blank
lines (after label2/value2, label3/value3, and block1).

The funny thing is, that any one of the following changes will cause the problem
to disappear:

1) Remove the "block-container", so the table is a direct child of the flow.

2) Add "line-height=100%" to the flow.

3) Remove the <fo:block space-before="1.0em"/> which appears right below "Heading".
Comment 1 Isaac Shabtay 2007-11-12 07:59:55 UTC
Created attachment 21112 [details]
Demonstration
Comment 2 Chris Bowditch 2007-11-13 01:32:47 UTC
This is very similar (although not exactly the same) as bug #43815 in which I 
observed that block-containers with position="absolute" caused strange layout 
effects if not all of the 4 properties: left, top, width, and height were 
specified.
Comment 3 Glenn Adams 2012-04-07 01:37:08 UTC
resetting severity from major to normal pending further review
Comment 4 Glenn Adams 2012-04-07 01:41:30 UTC
resetting P2 open bugs to P3 pending further review