Re: [csswg-drafts] [css-text-decor-4] Rethinking text-underline-offset

The resolution:
1. The grammar for text-underline-position becomes `auto | [ [ under | from-font] || [ left | right ] ]`
2. The grammar for text-underline-offset becomes `auto | <length>`

And the behavior:
1. `auto` / `auto` = what we do now
2. `auto` / `<length>` = put it at `<length>` away from the baseline (aka `<length>` clobbers `auto`)
3. `under` / `auto` = put it at the bottom of the descender
4. `under` / `<length>` = put it at the bottom of the descender plus the length (aka `<length>` adds to `under`)
5. `from-font` / `auto` = put it where the font says to put it
6. `font-font` / `<length>` = put it where the font says to put it plus the length (aka `<length>` adds to `font-font`)

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

Received on Tuesday, 23 October 2018 15:33:39 UTC