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
zero percentage value minification #635
Comments
It's interesting that no one spotted it before! Are you aware of any kind of rules that govern when we can and can't turn |
Looks like it depends whether or not selected element has content. So there is no chance to decide turn |
Thanks for looking into this. I wonder if it applies to any other elements, like |
looks like it is: |
That's only for |
I believe yes |
Fixed on master, you can still use |
👍 |
It's just been released with clean-css 3.4. 🎆 Thanks for valuable input! |
clean-css tend to minify
height: 0%
toheight:0
But they aren't equal!
Examples:
http://codepen.io/H1D/pen/bdzRJo – before minification
http://codepen.io/H1D/pen/YXBrze – after minification
The text was updated successfully, but these errors were encountered: