Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output corrupt when using comma in CSS pseudo class selector #241

Closed
penx opened this issue Feb 17, 2014 · 1 comment
Closed

Output corrupt when using comma in CSS pseudo class selector #241

penx opened this issue Feb 17, 2014 · 1 comment

Comments

@penx
Copy link

penx commented Feb 17, 2014

When running cleancss (2.1.0) on the following:

.c4:not(.c1, .c2){width: 1px;}
@media  (min-width: 1px) { .c3{width: 1px;} }

The output is corrupt:

.c2),.c4:not(.c1{width:1px}@media (min-width:1px){.c3{width:1px}}

The correct output would be:

.c4:not(.c1,.c2){width:1px}@media (min-width:1px){.c3{width:1px}}
@GoalSmashers
Copy link
Contributor

@penx this issue is fixed with 2.1.1 release. Thanks for raising it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants