Re: [csswg-drafts] [css-text-decor] text-decoration level 4 clarification on text-underline-offset positive/negative lengths (#4021)

Trying to think as an author, it seems more natural to me that a positive text-underline-offset would move the underline away from the baseline of the text (so downwards, in common horizontal-tb writing mode). That's what Safari Tech Preview does, but it's the opposite of what the spec currently says, as I understand it.

Given that AFAIK no-one else has implemented this yet, I'd suggest the language in the spec should be reversed so as to match Safari's behavior.

> Negative values have the same effect as setting text-underline-offset to 0.

Just FTR, this isn't what I see: in Safari Tech Preview, negative text-underline-offset moves the line up through the text, or eventually entirely above it. Which is what I'd expect, modulo the reversal of direction compared to the current spec draft.

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

Received on Tuesday, 11 June 2019 16:58:02 UTC