mhpreiman
5/30/2018 - 5:37 PM

ruleset for multiple `::selection`s oddity

For some reason, selecting multiple ::selections with a ruleset doesn't work.

This works:

::selection {
  background: red; 
}
::-moz-selection {
    background: red; 
}

But this doesn't:

::selection,
::-moz-selection {
    background: red; 
}