W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-values] calc() should round when it's used as an <integer>

From: alancutter via GitHub <sysbot+gh@w3.org>
Date: Tue, 20 Feb 2018 23:15:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-367154773-1519168509-sysbot+gh@w3.org>
> I provisionally propose we use "toward positive infinity" rounding, same as JS's Math.round(). Does CSS already have any rounding we should match instead?

This matches integer animation rounding.

GitHub Notification of comment by alancutter
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2337#issuecomment-367154773 using your GitHub account
Received on Tuesday, 20 February 2018 23:15:15 UTC

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