- 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>
Hello,
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.
http://www.antenna.co.jp/XML/img/underline.jpg
The current AH Formatter V5.2 adopts the values of 'before-edge' and 'after-edge'
according to;
http://www.w3.org/TR/2003/CR-css3-text-20030514/#text-underline-position
However, according to the recent spec;
http://www.w3.org/TR/css3-text/#text-underline-position/
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.
before-edge
the underline, if set, is aligned inside of 'before-edge' of
the line box.
after-edge
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