I'm encountering a bug where the ::selection and ::moz-selection selectors have to be defined as separate rules in order to work. So, the following code will run correctly in Chrome:
::selection {
background: #f42;
color: #fff;
}
::-moz-selection {
background: #f42;
color: #fff;
}
But this will not:
::-moz-selection,
::selection {
background: #f42;
color: #fff;
}
The same is true for ::placeholder and similar selectors. This is the only thing preventing me from using cssshrink in production.
EDIT
This is a duplicate of #14
I'm encountering a bug where the
::selectionand::moz-selectionselectors have to be defined as separate rules in order to work. So, the following code will run correctly in Chrome:But this will not:
The same is true for
::placeholderand similar selectors. This is the only thing preventing me from using cssshrink in production.EDIT
This is a duplicate of #14