W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

Re: [csswg-drafts] [css-color-4] Serialization/normalization of color() (and other advanced color functions) (#4826)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Mar 2020 22:15:04 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-600326491-1584483303-sysbot+gh@w3.org>
Going from 8 bits to 12 bits: 1 / 16 = 0.0625 which is much bigger than 0.001. So maybe 0.05?

>>  What is the minimum bit depth for non-integer serialization? I assume this should be 12, because rec2020 can use either 10 or 12 bits; the percent form of rgb() can use arbitrary precision.

> Not sure I understand the question - are you asking what the smallest bit depth is that could possibly trigger a non-integer serialization? If so, it's 9 bits, right?

No, I'm asking what is the minimum bit depth that we need to preserve. Since Rec 2020 allows 10 and recommends 12, we need to preserve at least 12 bits.

GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4826#issuecomment-600326491 using your GitHub account
Received on Tuesday, 17 March 2020 22:15:06 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC