[xep-support] Border collapse problem

From: Chris Bowditch <bowditch_chris@hotmail.com>
Date: Tue Feb 22 2005 - 03:44:32 PST


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"
                <fo:simple-page-master master-name="normal" page-width="5in"
page-height="5in" margin="20pt">
                        <fo:region-body margin="0pt"/>
        <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-cell border="solid 15pt blue">
                                                        <fo:block>cell1 cell1 cell1 cell1 cell1 cell1 cell1</fo:block>
                                                <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 background-color="orange">
                                                <fo:table-cell border="solid 10pt red" border-top="dotted 5pt red">

(*) 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