W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

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

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Sep 2017 20:32:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-327294668-1504643560-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:17 UTC