Skip to content

[css value and units] Proposal: add floor, round and ceil #4589

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

Closed
chris70c opened this issue Dec 12, 2019 · 2 comments
Closed

[css value and units] Proposal: add floor, round and ceil #4589

chris70c opened this issue Dec 12, 2019 · 2 comments

Comments

@chris70c
Copy link

chris70c commented Dec 12, 2019

https://drafts.csswg.org/css-values-4/#calc-notation

Can we please add some rounding methods to the spec?
It's becoming impossible to design accurate layouts when each browser rounds values in a different way, this would make everything much easier.

Thanks

@Crissov
Copy link
Contributor

Crissov commented Dec 12, 2019

Duplicate of #2513. Please add meaningful use cases there. Also see #4551.

@tabatkins
Copy link
Member

Ah, yes, I was going to go looking for that issue. Thanks, closing as duplicate.

(And I'll rename #2513 to be a little more descriptive.)

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

3 participants