- From: Calvin Walton via GitHub <noreply@w3.org>
- Date: Wed, 12 Nov 2025 17:25:29 +0000
- To: public-css-archive@w3.org
Something to note is that when alpha is being used for *coverage* (i.e. anti-aliasing - where a 50% alpha means that half of the pixel is filled with color, and half of the pixel is transparent), then doing compositing in a linear-light color space produces the most physically-correct results. For example, this ensures that a 1px thick line aligned with physical pixels, vs a 1px thick line halfway between physical pixels (spread over two adjacent pixels) will both appear to be the same "darkness". Unfortunately, so much web content has been designed with the assumption that compositing is done in sRGB that changing this behaviour would in some cases reduce contrast (e.g. if grey text is done by doing semi-transparent black over a white background) and could make previously accessible sites become inaccessible. Any ability to select a non-sRGB color space for compositing probably needs to be opt-in. -- GitHub Notification of comment by kepstin Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12492#issuecomment-3523065355 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 12 November 2025 17:25:30 UTC