Re: [csswg-drafts] [css-text-decor-4] text-underline-offset has no way of being proportional to font size

```html
<div id="outer" style="font-size: 32px; text-underline-offset: 12.5%">
    <div id="inner" style="font-size: 16px; text-decoration: underline> ... </div>
</div>
```

The observed offset on the inner element should be 2px

```html
<div id="outer" style="font-size: 32px; text-underline-offset: 12.5%; text-decoration: underline">
    <div id="inner" style="font-size: 16px;> ... </div>
</div>
```

The observed offset on the inner element should be 4px because of the [decorating box](https://drafts.csswg.org/css-text-decor-3/#decorating-box).

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

Received on Sunday, 16 September 2018 20:42:13 UTC