Re: [csswg-drafts] [css-text-decor] [css-pseudo] default ‘text-decoration-color’ of ‘spelling-error’ and ‘grammar-error’ (#7522)

Interesting question... and it's particularly tricky if the UA wants to use different colors depending on the `color-scheme`. I think we could go a couple of ways here:
- If the computed `text-decoration-color` is `currentColor`, use the UA-chosen color.
- Introduce a new computed value for `text-decoration-color`, e.g. `auto`, and set that value in the UA stylesheet.
- Don't allow `text-decoration-color` to affect spelling/grammar errors.

I don't have a strong opinion here.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 1 September 2022 18:25:34 UTC