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

Hi,

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% 
20petites%20capitales.rtf>)

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

- text-decoration striking through the descenders <http:// 
blog.empyree.org/images/jambage-text-decoration.png>

- 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).


-- 
</david_latapie>
http://blog.empyree.org/   U+0F00

Received on Thursday, 28 September 2006 11:59:57 UTC