- From: Kari Pihkala via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 Feb 2023 07:36:01 +0000
- To: public-css-archive@w3.org
It's possible to make an element visible even if it uses `filter: opacity(0)`, like this: HTML: <svg> <filter id="flood"> <feFlood flood-color="green" flood-opacity="0.5"/> </filter> </svg> <div>Hello</div> CSS: div { filter: opacity(0) url(#flood); } Here's [jsfiddle](https://jsfiddle.net/qwt2645k/). For these cases, browsers would have to investigate the resulting pixels, which can be expensive. -- GitHub Notification of comment by karip Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7795#issuecomment-1432646788 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 16 February 2023 07:36:03 UTC