Bug 48724

Summary: space-after applied only to line 1 when fo:block is nested within fo:inline
Product: Fop - Now in Jira Reporter: Gregory Buchenberger <gregb>
Component: generalAssignee: fop-dev
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: trunk   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Attachments: Rendered PDF
XSL-FO

Description Gregory Buchenberger 2010-02-10 17:19:41 UTC
Created attachment 24964 [details]
Rendered PDF

When an fo:block is nested within fo:inline the space-after property seems to be only applied to the first line and not the last line.

On page 25 of the attached PDF under the line "This black and white photo shows
a two-" it occurs. Here's that portion of the XSL-FO.

<fo:block keep-with-previous.within-page="3">
 <fo:inline font-weight="bold">
   <fo:block space-after="0.5em" space-before="0.5em">
     This black and white photo shows a two-wheeled wagon
     piled high with cloth sacks filled with goods. Another
     sack lies on the grass next to the wagon.  The wagon
     has the thin tires and criss-cross pattern of spokes
     on the wheels that are characteristic of the 1930s.
   </fo:block>
 </fo:inline>
</fo:block>
Comment 1 Gregory Buchenberger 2010-02-10 17:20:57 UTC
Created attachment 24965 [details]
XSL-FO
Comment 2 Glenn Adams 2012-04-07 01:44:17 UTC
resetting P2 open bugs to P3 pending further review