W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: [CSS21] Text-decoration "inheritance"

From: <staffan.mahlen@comhem.se>
Date: Wed, 01 Oct 2003 19:29:22 +0200
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3F7B2B12.5571.46C81E@localhost>

On 1 Oct 2003 at 13:10, Boris Zbarsky wrote:
> A different example:
> 
> <span style="text-decoration: underline">2<sup>2</sup> = 4</span>
> 
> What should be underlined, and how?  Notice the difference between the CSS21
> proposal and just inheriting the text-decoration in this case.

Hmm, it seems to me that the case where a descendant which inherits 
the underline should not have one would be less common than the case 
where the "box-line" conflicts with one of the descendants.

How would the current suggestion cope with a minor change to your 
example?
<span style="text-decoration: underline">2<sub>2</sub> = 4</span>

 /Staffan
Received on Wednesday, 1 October 2003 13:31:07 GMT

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