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

Re: [csswg-drafts] [css-color-4] Spec doesn't specify whether implementation must honor <decimal> in rgb/rgba or if it can truncate to an <integer>

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Sat, 02 Dec 2017 21:42:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-348722272-1512250944-sysbot+gh@w3.org>
> Rounding would likely be more "accurate" than truncating, since it would always create a value closer to what was originally intended when compared to truncating.

Yes, clearly rounding is correct here

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1983#issuecomment-348722272 using your GitHub account
Received on Saturday, 2 December 2017 21:42:26 UTC

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