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:18:06 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-438764234-1542219485-sysbot+gh@w3.org>
@smfr, good example. You would have to do [this instead](https://codepen.io/mfreed7/pen/mQWgLW), which was slightly trickier than your example, but perfectly do-able.

I think it's important to mention - we're not claiming that our proposal isn't a limitation. **It is**. There will be some things that cannot be done, if backdrop-filter respects isolation. But in exchange for that limitation, (all) developers will get two benefits. The first is that the performance of sites using backdrop-filter will be much better - exponentially so, in some cases. The second is that the filter behavior will be more easily understood, so implementations will more likely match each other, and developers will know what to expect. And most "simple" backdrop-filter effects will work just the way you would expect - they would filter everything behind them. See, e.g. apple.com and blog.github.com.

I think it's important to use mix-blend-mode as a model here, because it is so similar in operation to backdrop-filter. The decision was made to have mix-blend-mode respect isolation, and that decision should be the perfect precedent here.

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

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