Re: [csswg-drafts] [css-text-decor] text-decoration-thickness & text-underline-position properties

Instead of `file`, wouldn’t a new font-dependent unit, e.g. `sw` for 
‘stroke width’, make more sense? It could also be useful with 
`border-width` for instance. 

At least for serif faces, it may even make sense to introduce two 
units, one for the stem / base stroke (, _downstroke_, `\` in _x_) and
 another for the hair stroke (_upstroke_, `/` in _x_), i.e. `bs` and 
`hs` or `ds` and `us`. I assume most typefaces have an underline 
thickness around `1hs`.

Seeing that `ex` is implemented as fixed `0.5em` almost everywhere, a 
similar default value would be defined for the stroke unit(s) as well,
 maybe depending on `font-weight`.

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

Received on Tuesday, 15 November 2016 10:50:11 UTC