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
.foo { width: calc(100% / 3 * 3); height: calc(calc(100% / 3) * 3); }
Expected output:
.foo { width: 100%; height: 100%; }
Actual output:
.foo { width: 100%; height: 99.99999%; }
reduce-css-calc is also affected
Note that it works in Firefox and Chrome:
The text was updated successfully, but these errors were encountered:
@andreymal Just increase precision parameter: https://github.com/postcss/postcss-calc#precision-default-5
precision
Sorry, something went wrong.
@Semigradsky no, I want precision=5 with correct rounding
Successfully merging a pull request may close this issue.
Expected output:
Actual output:
reduce-css-calc is also affected
Note that it works in Firefox and Chrome:
The text was updated successfully, but these errors were encountered: