Re: [css3-text-decor] text-underline-position (non-issue + info in Japan)

>
> but I do not see any good reason not to do text-underline-position.
>
The reason is that text-underline-position is restricted to underlining as
decoration. So when line decorations are defined via @text-decoration this
property will be obsolete. Also what if we decide to allow influencing the
position of the underline or line-through? Then you have to add a new
property for each one of them.
Also text-underline-position: below right; actually represents an *
overlining* for vertical writing modes[1]. IMO that's an abuse of
text-decoration:
underline; for this purpose.

Why not add the something like leftline and rightline as values to the
text-decoration property instead which draws the lines independently of the
writing mode and introduce a text-decoration-offset[2] instead of
text-underline-position?

Sebastian

[1] http://dev.w3.org/csswg/css-text-decor-3/#fig-text-underline-position
[2] http://lists.w3.org/Archives/Public/www-style/2012Jul/0444.html

Received on Thursday, 18 October 2012 11:12:00 UTC