Re: [csswg-drafts] [css-color-6] `contrast-color()` MVP in Level 5 (#9166)

> In the NYC F2F in 2022, we discussed defining an MVP of `contrast-color()` that would only return `black` or `white` depending on what color text is most readable for the background color passed. I thought we had a resolution on this, but I can’t find it.

The resolutions are in [Minutes New York F2F 2022-08-02 Part II: CSS Color](https://lists.w3.org/Archives/Public/www-style/2022Aug/0013.html) and [Minutes New York F2F 2022-08-02 Part III: CSS Color ](https://lists.w3.org/Archives/Public/www-style/2022Aug/0013.html).

I think the one you are thinking of might be

> RESOLVED: We have an unspecified default, the best available to the
              UA, which gets updated, only allowed when there aren't any
              candidates. If you include any candidates, algorithm is
              mandatory (Issue #7361: color-contrast() default
              algorithm)

although (relevant to your proposal above) we also have

> RESOLVED: Whatever keywords for foreground/background are named,
              they are are required (Issue #7359)

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9166#issuecomment-1666863256 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 6 August 2023 13:37:59 UTC