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

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

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Thu, 18 Oct 2012 13:11:24 +0200
Message-ID: <CAERejNZnd4+FbYfJYfLNrXz7dHCotDh5jMTu8aFCxk=VRf+Npg@mail.gmail.com>
To: Koji Ishii <kojiishi@gluesoft.co.jp>
Cc: "www-style@w3.org" <www-style@w3.org>
> 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
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


[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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:22 UTC