You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Peter B. West" <pb...@powerup.com.au> on 2002/03/08 01:49:29 UTC

[Fwd: text-shadow and text-decoration]


The editors,

7.16.5 "text-shadow" has offsets defined in terms of "horizontal 
distance to the right" and "vertical distance below" the text.

The section also specifies:
Inherited:  no, see prose

There is no mention of inheritance in the prose of section 7.16.5.

7.16.4 "text-decoration", likewise, has:
Inherited:  no, see prose

It does discuss inheritance.

"This property describes decorations that are added to the text of an 
element. If the property is specified for a block-level element, it 
affects all inline-level descendants of the element. If it is specified 
for (or affects) an inline-level element, it affects all boxes generated 
by the element. If the element has no content or no text content (e.g., 
the IMG element in HTML), user agents must ignore this property."

This is confusing because it seems to imply that the property *is* 
inherited.  Also, if the last sentence quoted is taken to mean, "if the 
element has no text content user agents must ignore this property," how 
is this property to affect specified fo:character elements within its 
ambit?  Is it the intention that the property apply to all implicit and 
explicit fo:character elements descended from the element on which it is 
defined?  Is the complication here to do with the handling of 
inline-progression spacing?

Peter West



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org