xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: text-decoration inheritance
Date Sun, 07 Jan 2007 14:04:09 GMT
Manuel Mall wrote:
> I was just looking at some inline handling stuff and came across the 
> inheritance behaviour of the text-decoration property.

IIRC one of the problems is merging the various decoration values:
  <fo:wrapper text-decoration="underline">text1
   <fo:wrapper text-decoration="overline">text2
I'd say "text 2" should be both underlined and overlined. I
text-decoration were inherited, the decoration of the inner
wrapper would already override underlining.
In order to turn off underlining, one should use
  <fo:wrapper text-decoration="underline">text1
   <fo:wrapper text-decoration="overline no-underline">text2


View raw message