[xep-support] Border collapse precedence

From: Chris Bowditch <bowditch_chris@hotmail.com>
Date: Tue Feb 08 2005 - 06:18:49 PST

The border-*-precedence properties dont appear to be conformant to the spec.
Section 7.26 says that fo:table has a default precedence of 6, whilst
fo:table-cell has a default precedence of 5. However, when rendering the
following FO snippet, only orange borders are visible. Blue borders should
appear on the outside, if the precedence is being obeyed correctly.

Chris

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
        <fo:simple-page-master master-name="a4">
                <fo:region-body/>
        </fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="a4">
        <fo:flow flow-name="xsl-region-body">
                <fo:block>Below is a 3x3 table</fo:block>
                <fo:table border-style="solid" border-color="blue" border-width="2pt">
                        <fo:table-column column-width="33%"/>
                        <fo:table-column column-width="33%"/>
                        <fo:table-column column-width="33%"/>
                        <fo:table-body>
                                <fo:table-row>
                                        <fo:table-cell border-style="solid" border-color="orange" border-width="5pt">
                                                <fo:block>1-1</fo:block>
                                        </fo:table-cell>
                                        <fo:table-cell border-style="solid" border-color="orange" border-width="5pt">
                                                <fo:block>1-2</fo:block>
                                        </fo:table-cell>
                                        <fo:table-cell border-style="solid" border-color="orange" border-width="5pt">
                                                <fo:block>1-3</fo:block>
                                        </fo:table-cell>
                                </fo:table-row>
                                <fo:table-row>
                                        <fo:table-cell border-style="solid" border-color="orange" border-width="5pt">
                                                <fo:block>1-1</fo:block>
                                        </fo:table-cell>
                                        <fo:table-cell border-style="solid" border-color="orange" border-width="5pt">
                                                <fo:block>1-2</fo:block>
                                        </fo:table-cell>
                                        <fo:table-cell border-style="solid" border-color="orange" border-width="5pt">
                                                <fo:block>1-3</fo:block>
                                        </fo:table-cell>
                                </fo:table-row>
                                <fo:table-row>
                                        <fo:table-cell border-style="solid" border-color="orange" border-width="5pt">
                                                <fo:block>1-1</fo:block>
                                        </fo:table-cell>
                                        <fo:table-cell border-style="solid" border-color="orange" border-width="5pt">
                                                <fo:block>1-2</fo:block>
                                        </fo:table-cell>
                                        <fo:table-cell border-style="solid" border-color="orange" border-width="5pt">
                                                <fo:block>1-3</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 8 07:00:47 2005

This archive was generated by hypermail 2.1.8 : Tue Feb 08 2005 - 07:00:48 PST