W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

text-shadow and text-decoration

From: Peter B. West <pbwest@powerup.com.au>
Date: Thu, 7 Mar 2002 20:25:43 -0500 (EST)
Message-ID: <3C880A20.1070702@powerup.com.au>
To: xsl-editors <xsl-editors@w3.org>
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
Received on Friday, 8 March 2002 07:14:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:52 UTC