W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > November 2018

Re: [fxtf-drafts] [filter-effects-2] Backdrop filters should not use BackgroundImage

From: Mason Freed via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Nov 2018 18:32:51 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-438769156-1542220369-sysbot+gh@w3.org>
> Well, mostly. It would not do group opacity the way I expect: `<div style="opacity: 0.8;backdrop-filter: blur(10px) opacity(0.8);"><div style="width:100px;height:100px;background:white"></div></div>` - in this example, you'd still be able to see remains of the blurred backdrop behind the white square, whereas the effect I'd like to achieve would have the white square block out the blur entirely. Moreover, having to repeat the opacity value in two different properties makes opacity animations a bit more cumbersome.

@mstange I agree with the above. It is both more cumbersome, and as you point out, the white square will "show through" some of the blurred backdrop. If you didn't want that, you'd have to move the white square out from under the parent with opacity. Depending on what effect you wanted, you could likely achieve it, however. It would just take more work.

-- 
GitHub Notification of comment by mfreed7
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/53#issuecomment-438769156 using your GitHub account
Received on Wednesday, 14 November 2018 18:32:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 November 2018 00:46:02 UTC