Re: [csswg-drafts] idea: CSS non-multiplicative opacity-override property (#10214)

`.some-ancestor *:not(.some-descendant) { opacity: 0.5 }` is quite straightforward. Besides, [`opacity`](https://drafts.csswg.org/css-color-4/#transparency) applies on a flat rendering of the ancestor and its children, so I fear `opacity-override` could not be applied:

  > Conceptually, after the element (including its descendants) is rendered into an RGBA offscreen image, the `opacity` setting specifies how to blend the offscreen rendering into the current composite rendering.

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


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

Received on Tuesday, 16 April 2024 06:56:17 UTC