Re: Text-shadow/decoration errors

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 UTC