-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Nested selector redundancy on merge #1280
Comments
Because there is no comments or ideas on this .. /* not redundant */
.bottom-right .active {
margin-bottom: 0;
margin-left: 0;
} |
work-around - use extend and that removes duplicates for properties |
This was a feature request on the css compressor I was looking at.. we could look at using that to simplify us having to do it (assuming we switch compressors and they implement) |
If I understand it right it's not really a bug (at least in context of today's Less approach). Either way, currently |
Oh wait, in fact it's just a duplicate of #930. So I'm closing this. |
Using nested selector, when merging it result in CSS with redundant declarations.
Example
Generated code merges fine the parent selector rules, but nested selector has a redundant declaration
Tested with all versions online at http://less2css.org/
The text was updated successfully, but these errors were encountered: