-
Notifications
You must be signed in to change notification settings - Fork 642
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
[css-values] All browsers handle calc() in <integer> incorrectly #3114
Comments
AFAIK, browsers currently treat the result of division in |
Right, this isn't a spec issue, just browser bugs due to them not yet following the spec. I'll close this issue; Chrome and Firefox already have bugs. @FremyCompany I don't want to create a Microsoft account right now - you mind filing this as an Edge bug too? |
I filed it via Twitter: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/19025708/ |
Yes, we also have the "wrong" rounding behavior, this was mentioned when we made the spec change to allow Thanks everyone for filing all the relevant bugs. |
Testcases:
z-index
: http://dabblet.com/gist/f1685a573380ef3f9041842a10965e3dgrid-column-end
: http://dabblet.com/gist/e2e7d3bceef592569f8eadbd66c6b7f1z-index
accepts<integer>
.grid-column-end
accepts an<integer>
afterspan
.calc()
is allowed everywhere that an<integer>
is accepted:However, no browser seems to support this properly (see linked test):
calc()
at all ingrid-column-end
, and supports multiplication but not division inz-index
.The text was updated successfully, but these errors were encountered: