Skip to content

unqualified psuedo-classes are combined with previous seletor #10

@AaronAsAChimp

Description

@AaronAsAChimp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions