-
Notifications
You must be signed in to change notification settings - Fork 322
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
clean-css 5.0.1 leading zeros are not removed #1143
Comments
Hey @XhmikosR - by saying "I noticed more cases" do you mean more cases of |
I meant more CSS properties. It's like it's unrelated to the CSS property but specific to rem. You can try the branch if you want to check the diff https://github.com/twbs/bootstrap/tree/main-xmr-update-cleancss |
FYI this is the size diff compared to clean-css v4. |
Thanks, I'll have a look and fix it. |
^ this should do the trick, please have a quick look at b8c2657#diff-ec858cb5d55ea11dd5f18cb15cfd49435b1bb3cfb1833eee78398b17ac0dd527 if it looks ok to you. |
Thanks for taking a look, I really appreciate it! https://ja2r7.app.goo.gl/cVvQAgjcNbovnGNZ7 It seems there are more cases, like this one: .progress-bar-striped {
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-size: 1rem 1rem;
}
I'd just check out my upstream branch and as long as the output is the same, then we should be good to go :) |
@XhmikosR I get the same output now. I'm gonna merge it and release it. |
I tried our v4-dev branch too and seems to be fine too: |
It's out as clean-css 5.1.0 and clean-css-cli 5.2.0. Thanks for testing! |
Precheck
Environment
npm ls clean-css
: 5.0.1node -v
: 14.15.5Configuration options
Input CSS
Actual output CSS
Expected output CSS
I noticed more cases, not only
border-radius
and it seems to only happen forrem
s.The text was updated successfully, but these errors were encountered: