Re: [csswg-drafts] [css-values] Add round()/floor()/ceil() functions (#2513)

Ah, allowing a default precision for plain numbers, but requiring an explicit one for dimensions, works for me.

And yes, I definitely think that authors would expect `round(2.4cm)` to produce `2cm`, which we can't guarantee; we need to require the author the author to say `round(2.4cm, 1cm)`.

@Crissov Ooh, good catch on remembering about the Rhythm keywords.

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

Received on Friday, 13 December 2019 20:40:25 UTC