Re: [csswg-drafts] No way to set the underline width/thickness

I prefer established `width`over `thickness` and also, as in [my 
comments on 
#459](https://github.com/w3c/csswg-drafts/issues/459#issuecomment-260609781),
 new length units.

~~~css
@font-face {
  font-family: Example; src: url(example.woff);
  stroke-width: 0.05em /* base-stroke */ 0.05ex /* hair-stroke */; /* 
`auto` would trust metadata */
}
.example {
  font: 16px Example; font-size-adjust: 0.6 /* 1ex = 9.6px */;
  text-decoration-width: 1bs; /* = 0.8px or actual stroke width or 
default 1em/16 = 1px */
  font-weight: 120%; /* = 1.2 × 1bs / (1em/16) – different definitions
 possible */
}
~~~

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

Received on Friday, 9 December 2016 06:07:19 UTC