W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

Re: [csswg-drafts] [css-text-decor] Results for text-underline-position: under

From: Khaled Hosny via GitHub <sysbot+gh@w3.org>
Date: Wed, 22 Feb 2017 19:25:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-281774183-1487791519-sysbot+gh@w3.org>
My guess is that it is using the font descender for the underline 
position not the actual extents of the text box, which would explain 
why the results vary so much between fonts. Using a fixed value makes 
sense I guess since you don’t generally want the underline position to
 change between different lines based on their context, but may be the
 descender is not the best choice at least for Arabic since glyphs 
tend to go past the ascender and descender rather often, no idea what 
would replace it though.

GitHub Notification of comment by khaledhosny
Please view or discuss this issue at 
 using your GitHub account
Received on Wednesday, 22 February 2017 19:25:56 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:08 UTC