Re: [csswg-drafts] [css-pseudo-4] UA must (instead of should) use the OS-default highlight colors ... (#4785)

@TalbotG is correct, the wording here is not as tight as it should be. I've switched it out to:

> The UA must use its own highlight colors for ''::selection'' only when (and only when) neither 'color' nor 'background-color' has been specified by the author.

I believe this is what was meant.

There's an additional expectation that these colors should match the OS colors, but I'm not sure we need to impose that as a requirement?

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


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

Received on Thursday, 31 December 2020 02:20:37 UTC