Re: [csswg-drafts] [css-values] Functions to select one value from a set: med(), mod()

I introduced _round to nearest multiple_ as a side effect of `mod`, i.e. _module_ instead of _mode_, but you could make it the main feature as well. It happens quite often that designers specify a grid using one unit but some live calculations have to use a different unit. It would also help to avoid different rounding behavior in implementations that can lead to perfect alignment in one browser but not another.

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

Received on Tuesday, 5 September 2017 20:32:47 UTC