We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Input Css :
h2 { width: 100px; width: 200px; }
Output Css: h2 { width: 100px; width: 200px; }
Expected Output CSS: h2 { width: 200px; }
h2 { width: 200px; }
CleanCss version : 3.4.10. No options passed. Using it in node js : const cleanCss = new CleanCss(); cleanCss.minify(css);
const cleanCss = new CleanCss(); cleanCss.minify(css);
The text was updated successfully, but these errors were encountered:
Sequential declarations are treated as redefining by default, but in this case the first declaration should indeed be dropped. Good catch!
Sorry, something went wrong.
@jakubpawlowicz, drawing your attention to #540 and probably #290 which look like very similar issues.
b809a36
jakubpawlowicz
No branches or pull requests
Input Css :
h2 { width: 100px; width: 200px; }
Output Css:
h2 { width: 100px; width: 200px; }
Expected Output CSS:
h2 { width: 200px; }
CleanCss version : 3.4.10.
No options passed.
Using it in node js :
const cleanCss = new CleanCss(); cleanCss.minify(css);
The text was updated successfully, but these errors were encountered: