Hi,
we have noticed that when using a table that has border-collapse="collapse"
(which is the default value for a table without border-collapse specified),
that the cell contents can sometimes overwrite the border. Is this a bug or
expected behaviour?
A small sample below illustrates this behaviour:
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:svg="http://www.w3.org/2000/svg">
<fo:layout-master-set>
<fo:simple-page-master master-name="normal" page-width="5in"
page-height="5in" margin="20pt">
<fo:region-body margin="0pt"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="normal" white-space-collapse="true">
<fo:flow flow-name="xsl-region-body">
<fo:table table-layout="fixed" width="100%" border-collapse="collapse">
<fo:table-column column-width="150pt"/>
<fo:table-column column-width="150pt"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border="solid 15pt blue">
<fo:block>cell1 cell1 cell1 cell1 cell1 cell1 cell1</fo:block>
</fo:table-cell>
<fo:table-cell background-color="yellow" border="solid 5pt black"
border-right="groove 15pt red" border-top="dotted 5pt black"
border-bottom="dotted 5pt green">
<fo:block>cell2 cell2 cell2 cell2 cell2 cell2 cell2</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="orange">
<fo:block>cell3</fo:block>
</fo:table-cell>
<fo:table-cell border="solid 10pt red" border-top="dotted 5pt red">
<fo:block>cell4</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Tue Feb 22 04:31:58 2005
This archive was generated by hypermail 2.1.8 : Tue Feb 22 2005 - 04:31:58 PST