Re: [csswg-drafts] [css-pseudo-4] Ensuring selection foreground/background contrast (#6150)

FWIW, I agree with @jfkthame that this should be considered a website bug.

A key point in that discussion though is that Blink/WebKit are not following the spec, and are applying an alpha value different from the one specified by the author; currently that's only allowed when the selection color over replaced elements’ content. So I think the key question here is whether Blink/WebKit intend to update to match the author’s specified color, or if ::selection should have a magic background-opacity value.

(...which I suppose we could make non-magic if we actually added background-opacity as a property, but maybe that's a separate issue)

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


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

Received on Tuesday, 30 March 2021 19:43:30 UTC