Re: [csswg-drafts] [css-pseudo-4]: How should a selected spelling error be painted? (#2850)

> If ::selection is drawn over ::spelling-error, then the color of ::selection wins in case of a conflict. However, ::selection says that if a `color` isn't specified, but a background is, then we use the text’s own color. Which in this case is the spelling-error color. So I agree with @shallawa that the spelling-error would be red.
> 
> If ::selection had specified a 'color', though, it would be that color.

Sounds reasonable to me.

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

Received on Sunday, 30 December 2018 23:51:24 UTC