- From: Johannes Odland via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 Dec 2022 07:05:15 +0000
- To: public-css-archive@w3.org
I suspect that the color spaces used for composition and blending has something to do with this. I did a quick test to check which color space is used for blending, by setting alpha to 1: https://codepen.io/johannesodland/pen/rNKbENO It seems like both Safari and Chrome (with experimental web features flag turned on) on my mac does blending in a color space that yields similar results as if blending was done in `display-p3`. Adding a filter property like `filter: contrast(100%)` seems to force the blending to happen in srgb. It seems like the color space used for blending varies both depending on the UA, the output device and on properties like `filter`, yielding very different results. It would be helpful if the spec stated which color space blending and composition should be done in, or explicitly stated that it's undefined behaviour. Maybe authors could explicitly set which color space blending and composition should be done in through a property. -- GitHub Notification of comment by johannesodland Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8211#issuecomment-1345990912 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 December 2022 07:05:17 UTC