Bug 48724 - space-after applied only to line 1 when fo:block is nested within fo:inline
Summary: space-after applied only to line 1 when fo:block is nested within fo:inline
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: trunk
Hardware: PC Windows Vista
: P3 normal
Target Milestone: ---
Assignee: fop-dev
Depends on:
Reported: 2010-02-10 17:19 UTC by Gregory Buchenberger
Modified: 2012-04-07 01:52 UTC (History)
0 users

Rendered PDF (337.96 KB, application/pdf)
2010-02-10 17:19 UTC, Gregory Buchenberger
XSL-FO (65.40 KB, application/octet-stream)
2010-02-10 17:20 UTC, Gregory Buchenberger

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 1 Gregory Buchenberger 2010-02-10 17:20:57 UTC
Created attachment 24965 [details]
Comment 2 Glenn Adams 2012-04-07 01:44:17 UTC
resetting P2 open bugs to P3 pending further review