[css-values] Let B default to 1 in round(<strategy>?, A, B)
· Issue #9668 · w3c/csswg-drafts (original) (raw)
I get the reasoning for requiring a precision in most cases. However, as I mentioned in #2513 (comment), it seems fine to omit it for numbers.
So if B becomes optional, defaulting to 1, it will be possible to do things like
round(2.3) /* 2 / round(up, 2.3) / 3 */
while round(2.3em)
will continue being invalid due to the type mismatch between A and B.