[xsl] [FO] fo:block margin attribute affects inner table cells (XFE)

Subject: [xsl] [FO] fo:block margin attribute affects inner table cells (XFE)
From: Kolací Tomáš <kolaci@xxxxxxx>
Date: Mon, 22 May 2006 18:00:17 +0200

 When rendering following fo:block:

<fo:block margin-left="10mm">
       <fo:table-column column-width="20.0mm"/>
       <fo:table-column column-width="proportional-column-width(1)"/>
       <fo:table-column column-width="40.0mm"/>
          <fo:table-row background-color="pink">
             <fo:table-cell line-height="3em">
                <fo:block background-color="cyan">4601</fo:block>
             <fo:table-cell line-height="3em">
                <fo:block background-color="cyan">-</fo:block>
             <fo:table-cell line-height="3em">
                <fo:block background-color="cyan">-</fo:block>

by AntennaHouse XSL Formatter (Evaluation, Version : 3,4,2006,0228 MR2),
fo:blocks inside the table cells seems to use same margin-left value as
ancestor fo:block. Is it correct behaviour? RenderX XEP renders inner
fo:blocks as if there was zero margin set for each of them (that's what I have

 See examples (source FO XML and results of both render engines) uploaded at
http://www.sendspace.com/file/k8lu4s (all packed in one zip package, name:
margin-left.zip, size: 8kB) - inner fo:blocks are cyan and underlying row is
pink, so the margin gaps are easily visible.

 Thanks, Tomas

Current Thread