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

The order of selectors in a group doesn't matter #106

Open
kizu opened this issue Nov 8, 2012 · 0 comments
Open

The order of selectors in a group doesn't matter #106

kizu opened this issue Nov 8, 2012 · 0 comments

Comments

@kizu
Copy link

kizu commented Nov 8, 2012

Look at those to examples:

.class1,.class2{a:b}
.class2{c:d}

and

.class2,.class1{a:b}
.class2{c:d}

The first one would be minified to .class1{a:b}.class2{a:b;c:d}, but the second won't — it would give just .class2,.class1{a:b}.class2{c:d}.

In CSS the order of selectors in groups don't matter, so it would be safe to minimize the second case there too.

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

No branches or pull requests

2 participants