Re: [csswg-drafts] [css-text-decor] Limits on text-underline-offset to preserve semantic meaning (#4059)

I made another drawing that's better than the one above — a clearer drawing of the use-case I would like to allow. 

If there were a mid-line to clamp to, I'd be ok with that. But I'm not sure we have a good line in the font files to use. I don't like clamping to the baseline. 

As @dauwhe & I chatted today about what's available in a font file, he mentioned perhaps "between x-height and descent". I guess we could cap at x-height? I'd be totally fine with that. Or at a calculated mid-point between the x-height and the descent? Could that be a thing? That is what this drawing basically shows. 

<img width="1064" alt="Untitled 2019-06-26 16-34-29" src="https://user-images.githubusercontent.com/108474/60213881-657d2d80-9832-11e9-9fd7-49dbefb26073.png">

-- 
GitHub Notification of comment by jensimmons
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4059#issuecomment-506041055 using your GitHub account

Received on Wednesday, 26 June 2019 20:55:30 UTC