[xep-support] Border collapse precedence

Chris Bowditch bowditch_chris at hotmail.com
Tue Feb 8 06:18:49 PST 2005


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 at 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



More information about the Xep-support mailing list