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

Re: [csswg-drafts] [css-color-5] color-contrast() needs resolution logic if 2 or more have the same contrast (#4732)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Tue, 04 Feb 2020 15:33:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-581966449-1580830434-sysbot+gh@w3.org>
> verify contrast scores: [hsl(200 83% 23%), purple, var(--purple-in-hsl)]

Note that these all give the same contrast, when rounded to 3 significant figures as your tool does, @LeaVerou but when a higher precision is used, purple wins. I made that point in the spec text.

GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4732#issuecomment-581966449 using your GitHub account
Received on Tuesday, 4 February 2020 15:33:57 UTC

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