[csswg-drafts] [css-pseudo-4] Clarify ::selection background-color in presence of fill/stroke (#4720)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-pseudo-4] Clarify ::selection background-color in presence of fill/stroke ==
We currently have a rule (which exists due to compat reasons) that if the author sets *either* background-color or color on ::selection, then the UA's rules for *both* background-color and color get dropped. So, for example, if the author sets `color`, then `background-color` becomes `transparent`.

What about if the author sets `fill` or `stroke`? Should they also make the `background-color` become `transparent`, or should the selection continue to use the OS default selection background color?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4720 using your GitHub account

Received on Friday, 31 January 2020 01:05:15 UTC