From: W. Eliot Kimber (eliot@isogen.com)
Date: Sun Nov 03 2002 - 14:44:25 PST
XEP appears to be failing to preserve the color of text decoration when
a nested inline sets a different color. For example, this markup:
<xsl:template match="del">
<fo:inline
text-decoration="line-through"
color="red">
<fo:inline
color="black"
><xsl:apply-templates
/></fo:inline
></fo:inline>
</xsl:template>
Should result in black text with a red line, as specified in 7.16.4:
The color(s) required for the text decoration should be derived from the
"color" property value.
This property is not inherited, but descendant boxes of a block box
should be formatted with the same decoration (e.g., they should all be
underlined). The color of decorations should remain the same even if
descendant elements have different "color" values.
However, XEP renders the text decoration as black, not red.
Cheers,
Eliot
-- W. Eliot Kimber, eliot@isogen.com Consultant, ISOGEN International 1016 La Posada Dr., Suite 240 Austin, TX 78752 Phone: 512.656.4139 ------------------- 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