Re: [csswg-drafts] [css-values] Let B default to 1 in `round(<strategy>?, A, B)` (#9668)

Strong +1 to defaulting B to 1. It makes sense to require the unit for anything with a unit, and there is no precedent for that in other languages. However, writing `round(8.5, 1)` is *incredibly weird*.

(while we're at it, why are we using commas here? It doesn't match the "we use commas only for repetition" pattern. How about `round(A [ by B ]?)`?)

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9668#issuecomment-1919347181 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 31 January 2024 15:32:05 UTC