From: Werner Donné (werner.donne@re.be)
Date: Wed Oct 02 2002 - 05:29:46 PDT
Hi,
I think the attached example shows an error in the space resolution in the
list-item-body element. The space-before of the content of all but the first
list item body is not discarded, despite the fact the fo:block elements in them
start a new line-area.
Regards,
Werner.
-- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: werner.donne@re.be
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="doc" page-height="297mm"
page-width="210mm">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="doc">
<fo:flow flow-name="xsl-region-body">
<fo:block space-after="0.83em" space-after.conditionality="discard">
This is the introduction of a list:
<fo:list-block
provisional-label-separation="6pt"
provisional-distance-between-starts="1em"
space-after="0.83em"
space-before="0.83em"
space-before.conditionality="discard"
space-after.conditionality="discard">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block text-align="end">1</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block
space-after="0.3em"
space-before="0.3em"
space-before.conditionality="discard"
space-after.conditionality="discard"
text-align="justify">
This is the first list item.
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block text-align="end">2</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block
space-after="0.3em"
space-before="0.3em"
space-before.conditionality="discard"
space-after.conditionality="discard"
text-align="justify">
This is the second list item.
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block text-align="end">3</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block
space-after="0.3em"
space-before="0.3em"
space-before.conditionality="discard"
space-after.conditionality="discard"
text-align="justify">
This is the third list item.
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Wed Dec 18 2002 - 08:41:28 PST