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?
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, thenbackground-colorbecomestransparent.What about if the author sets
fillorstroke? Should they also make thebackground-colorbecometransparent, or should the selection continue to use the OS default selection background color?