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

Re: [csswg-drafts] [css-text-decor] Text underlines' positions cannot be fine-tuned

From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Jan 2017 07:56:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-271802076-1484121386-sysbot+gh@w3.org>
@phistuck I think it's valuable to let web authors opt-in to metrics 
in the font file, but I think the specific algorithm is a little 
nuanced because of font fallback. In particular, you don't want the 
underline to jump around just because a fallback font is chosen for a 
single character. Luckily, the text-decoration spec already has the 
concept of a "decorating box" so the metrics should be chosen from the
 primary font of the element from which the decorating box is created 
(where "primary font" means "the font which affects the element's 
ascent and descent metrics")

GitHub Notification of comment by litherum
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 11 January 2017 07:56:34 UTC

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