Re: [csswg-drafts] [css-values] Round to design grid module

@jonjohnjohnson Thank you for the more concrete example.

@Loirooriol The more CSSy alternative to `mod()` would be just `round()`. There is no need for `mround()` because you would always specify the precision as a module, e.g. `round(calc(10px / 3), 0.01px)`. There may be a need or at least demand for ceiling and flooring support, but that can be added (even at a later time) with keywords: `round(10.5px, 1px down)`. I don't care much whether the comma should be there or whether space suffices or a keyword (`by`, `to`, `up`, `down`…) should take its place. 

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

Received on Thursday, 26 April 2018 08:41:57 UTC