[xep-support] Apparent Bug in Text Decoration

W. Eliot Kimber eliot at isogen.com
Sun Nov 3 14:44:25 PST 2002


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



More information about the Xep-support mailing list