Re: [CSS21] Text-decoration "inheritance"

On Wed, 1 Oct 2003 staffan.mahlen@comhem.se wrote:

> On 1 Oct 2003 at 20:54, Jukka K. Korpela wrote:
>
> > Neither the behavior specified nor the common browser behavior (which
> > effectively corresponds to inheritance) is generally suitable.
> Could you elaborate on when the common browser behavior is not
> suitable?

When the "decorated" text contains superscripts, and especially when it
contains subscripts. The underlining is disturbingly broken.
Compare the appearance of
<span style="text-decoration:underline">H<sub>2</sub>O</span>
with the effect you get when the style sheet is
border-bottom: solid 1px

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Wednesday, 1 October 2003 15:59:09 UTC