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

Regarding the transparency issue:

- https://github.com/w3c/csswg-drafts/issues/7358

if the MVP is only returning opaque black or opaque white then there is no problem with text transparency. (Obviously it needs to be taken into account for the general case with a list of candidate colors, which can be partially transparent. But that case is also fairly simple, composite the text color onto the background color and use the result to do the contrast calculation).

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


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

Received on Tuesday, 29 August 2023 17:15:41 UTC