W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Fri, 28 Dec 2018 20:44:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-450424236-1546029893-sysbot+gh@w3.org>
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.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2850#issuecomment-450424236 using your GitHub account
Received on Friday, 28 December 2018 20:44:55 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:41 UTC