Skip to content
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

calc() in between percentage and pixels #3137

Closed
luisgizirian opened this issue Nov 30, 2017 · 2 comments
Closed

calc() in between percentage and pixels #3137

luisgizirian opened this issue Nov 30, 2017 · 2 comments

Comments

@luisgizirian
Copy link

luisgizirian commented Nov 30, 2017

When i.e.

  • width: calc(25% - 20px) get's pre processed, results in a .css containing width: calc(5%)

The spec allows for px to be added or taken from the percentage calculation result. But these are getting mixed and mistakenly deduced. So, the process spits out a modified result.

@seven-phases-max
Copy link
Member

See #2837.

@seven-phases-max
Copy link
Member

Closing as expected behaviour (and in favour of #1880).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants