W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Re: Text-shadow/decoration errors

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Tue, 18 Jan 2000 20:48:01 +0000 (GMT)
To: Matthew Brealey <thelawnet@yahoo.com>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.10001182044460.13406-100000@mary.bath.ac.uk>
On Tue, 18 Jan 2000, Matthew Brealey wrote:
> [text-decoration on blocks and inheritance]
> This property is not inherited, but inline descendants 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.

This can be neatly explained by saying that the root inline box of
each line [1] has the same value of text-decoration as it's parent
block box, in the same was as it inherits the font properties and
line-height from the parent block box.

[1] http://www.fas.harvard.edu/~dbaron/css/2000/01/dibm#anonymous

-- 
Ian Hickson                            ("`-''-/").___..--''"`-._   
http://www.bath.ac.uk/%7Epy8ieh/        `6_ 6  )   `-.  (     ).`-.__.`)
                                        (_Y_.)'  ._   )  `._ `. ``-..-' fL
Member, Mozilla Quality Assurance     _..`--'_..-_/  /--'_.' ,'
Browser Standards Compliance Team    (il).-''  (li).'  ((!.-'    
Received on Tuesday, 18 January 2000 15:48:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:02 GMT