W3C home > Mailing lists > Public > www-style@w3.org > December 2010

[CSS3 Text] text-underline-position

From: Keiko Hiraide <hiraide@antenna.co.jp>
Date: Mon, 20 Dec 2010 18:32:29 +0900
To: "www-style@w3.org" <www-style@w3.org>
Message-Id: <20101220183228.5E6D.71209412@antenna.co.jp>

After formatting a sample of  text-under-position  with AH Formatter, I have a 
very good feeling in the behavior that the underline position with "auto"
makes the position a little lower than that with "alphabetic" in the horizontal
writing mode. However, because "before-edge" and "after edge" are drawn
outside of "line-height", it moves to the next line, then it is not easy to recognize
to which line under line is drawn. Will the interpretation that "before-edge" 
and "after-edge" are drawn inside of "line-height" be impossible?

Also, in vertical writing mode, "auto" is being interpreted as "before-edge", 
which is OK. But the underline overflows to the next line similarly in horizontal
writing mode. Will the interpretation that "before-edge" and "after-edge" are
 drawn inside of "line-height" be unskillful?

Here is an example of text-underline-position formatted by AH Formatter.

The current AH Formatter V5.2 adopts the values of 'before-edge' and 'after-edge'
according to;

However, according to the recent spec;
I understand  if  'over' and 'under' are adopted and  refer to  'em-box',  the 
problem I pointed out will not be an issue.

If the values of 'before-edge' and 'after-edge' remain in the future,
I suggest it better to add 'inside of ' as follows. 

    the underline, if set, is aligned  inside of 'before-edge' of 
the line box.

    the underline, if set, is aligned  inside of 'after-edge' 
baseline of the line box....

I think the underline of 'before-edge' and 'after-edge' should be processed
 inside of line-height. 

Thank you,

Keiko Hiraide 
Antenna House, Inc. 
Web: www.antennahouse.com
Received on Monday, 20 December 2010 21:46:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:41 UTC