You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
sqwish incorrectly combines pseudo-classes with the previous selector when it is unqualified.
styles.css
styles.min.css
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.
The text was updated successfully, but these errors were encountered: