W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

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

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Fri, 13 Dec 2019 05:04:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-565301871-1576213484-sysbot+gh@w3.org>
FWIW, [css-rhythm](http://drafts.csswg.org/css-rhythm/#block-step-round) already introduces a set of keywords for rounding behavior: `up` (_ceil_), `down` (_floor_) and `nearest` for its `block-step-round` property.

@astearns Setting the default scale for `<length>` is what #4440 was about. 
I'm not sure it would be desirable to assume a fixed default precision of, say, 1 _canonical unit_, e.g. `1px`.

GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2513#issuecomment-565301871 using your GitHub account
Received on Friday, 13 December 2019 05:04:47 UTC

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