Re: [csswg-drafts] [css-color-5][css-images-4] Are these features ready to ship? (#7310)

@Myndex  Thanks for the clarification regarding versioning and stability. In that case, please update your readme which gives a very different impression:

> Current Version: 0.1.4 G (w3) beta
> 0.1.4 • May 27, 2022

(That is six days ago). If the constants are identical to 0.98G-4g base version constants 02/15/2021 then you should clearly state this, in the readme.

> CHANGE for 0.1.1:
> NEW!! Alpha channels! AdobeRGB!!

That change is undated, and I can't find what TRC or chromaticities you are using. Are these also in 0.98G-4g base version?

> CHANGE for 0.1.0:
> NEW! displayP3!

Ditto.

However, regarding the substance of _this_ issue, it seems clear that:

- CSS Color 5 `color-contrast()` should continue to reference the WCAG 2.1 algorithm, flawed as it is, since that is the basis for current usage and is mandated in some legal contexts
- another function could be added, for WCAG 3, rather than extending `color-contrast()`, because
  - foreground and background need to be explicitly identified, rather than treated as interchangeable
  - the font size and font-weight dependencies also need to be integrated

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


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

Received on Friday, 3 June 2022 17:34:05 UTC