|
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 |
Hi!
When rendering following fo:block:
<fo:block margin-left="10mm">
<fo:table>
<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-body>
<fo:table-row background-color="pink">
<fo:table-cell line-height="3em">
<fo:block background-color="cyan">4601</fo:block>
</fo:table-cell>
<fo:table-cell line-height="3em">
<fo:block background-color="cyan">-</fo:block>
</fo:table-cell>
<fo:table-cell line-height="3em">
<fo:block background-color="cyan">-</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</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
expected).
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] xml:output indent="yes" w, Michael Kay | Thread | [xsl] import css file via xslt ->xh, Rick Roen |
| RE: [xsl] xml:output indent="yes" w, Michael Kay | Date | RE: [xsl] Sorting an xml, B Tommie Usdin |
| Month |