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

@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 
https://github.com/w3c/csswg-drafts/issues/459#issuecomment-271802076 
using your GitHub account

Received on Wednesday, 11 January 2017 07:56:34 UTC