Is there any proper reason why in CSS `calc(2em/1em)` won't give you `1`? Would be so useful for getting proportions with the unit canceled.
5
2
@kizmarh It makes dealing with divide-by-zero easier (hard to tell if (16px-1em) is 0). But plan is to allow it in next level.
2
1
@davidbaron no no, right now I’m talking about the handling of the _same_ unit values, and specifically about the division of them.
1
@kizmarh I know, but it's a problem once you introduce units on the bottom of fractions. Also, different units seem more useful.
Apr 1, 2016 · 1:05 PM UTC
1

