W3C home > Mailing lists > Public > www-style@w3.org > September 2006

[CSS3 Text] a new property for text-decoration,

From: David Latapie <david@empyree.org>
Date: Thu, 28 Sep 2006 13:58:31 +0200
Message-Id: <FF37231A-6160-490F-A28C-A512510F91FD@empyree.org>
To: www-style@w3.org


I know text-decoration had not been evaluated yet. I also know of the  
2002 draft (<http://www.w3.org/TR/2002/WD-css3-text-20020515/#text- 
underline-props>) but I post know regarding a new property.

Good typography software (but OS X’s TextEdit too!) are able to break  
the underlining when it crosses a descender (g, j, p, q, y)

Look here (the small text) <http://blog.empyree.org/images/typo-cap- 
souligne.png> (original RTF <http://blog.empyree.org/fichiers/Vraies% 

For now, this can sometimes be “fixed” with border-bottom, by  
avoiding the issue

- text-decoration striking through the descenders <http:// 

- border-bottom avoiding the problem <http://blog.empyree.org/images/ 
jambage-border-bottom.png>. This usually achieves a effect similar to  
"text-underline-position:after-edge", but the latter is better.

Notice that stopping before and resuming after descender is not the  
same as text-underline-position:after-baseline, as the behaviour of  
the latter is unclear (stop and resume is nicer, but I guess it is  
more expensive too).

http://blog.empyree.org/   U+0F00
Received on Thursday, 28 September 2006 11:59:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:26 UTC