unqualified psuedo-classes are combined with previous seletor
sqwish incorrectly combines pseudo-classes with the previous selector when it is unqualified.
styles.css
.class :first-child {
color: red;
}
styles.min.css
.class:first-child{color:red}
Qualifying it with an asterisk seems to be an effective workaround. On a related thought, but not necessarily related to this bug, it could probably be removed when minifying to save a byte.
interesting. i'll have a look
I think this is because of the wrong assumption of the : character to only be used for properties (eg: sqwishing font-family : serif to font-family:serif. I suppose there needs to be a refactor to treat declarations and selectors differently.
is this issue solved now?
@timaschew I am still seeing this issue.