Contact emails
mason...@chromium.org, chri...@chromium.org
Explainer / Design Doc
Located here.
Spec
Located here.
Tag Review
Requested here.
Original Intent to Implement (from 2015)
Located here.
Summary
Backdrop-filter is a proposed CSS property that applies one or more filters to the "backdrop" of an element. The "backdrop" basically means all of the painted content that lies behind the element. This allows designers to construct "frosted glass" dialog boxes, video overlays, translucent navigation headers, and more.
Motivation
Ever since Webkit shipped a prefixed version of this feature in 2015, developers have been asking for Chromium to implement it. The main Chromium feature tracking bug has 531 stars as of March 12, 2019. A number of web design blogs highlight this "cool" feature, and bemoan the lack of Chromium support. It is clear from the comments on the bug, and in the general discussions around the web, that this feature is highly desired by designers. We should make it available to them.
Risks
Interoperability and Compatibility
This feature only affects the appearance of the page, and not the behavior, so interop concerns are limited to visual effects. Webkit has had a shipping prefixed version of backdrop-filter since 2015. Edge has had a shipping non-prefixed backdrop-filter implementation since 2018. Mozilla has not implemented this feature. Neither of the shipping implementations adhere to the spec: they filter everything behind the element, rather than stopping at the Backdrop Root. (See the Motivation section of the spec for much more detail on this issue.) However, the expectation is that there will be very little difference in appearance among the implementations, for most typical use patterns. Given that Edge is moving to Chromium, and Webkit’s implementation is prefixed, the interop risk here is quite small.
Edge: Shipped
Firefox: Public support
Safari: Shipped, Prefixed
Web / Framework developers: All positive, e.g.:
https://ferdychristant.com/please-help-make-backdrop-filter-a-reality-f81805ba3d52
https://webdesign.tutsplus.com/tutorials/css-backdrop-filters--cms-27314
https://www.reddit.com/r/webdev/comments/3zgpnb/we_figured_out_a_way_to_recreate_the_blurred
https://stackoverflow.com/questions/38145368/css-workaround-to-backdrop-filter
https://www.sitepoint.com/create-stunning-image-effects-with-css-backdrop-filter
Comments on the Chromium bug: https://crbug.com/497522
Ergonomics
The backdrop-filter feature is computationally intensive, as are filters in general, so it may impact the performance of sites that use it. However, this should be comparable to existing filter usage, and should be manageable.
Activation
There is no known way to polyfill this feature, unfortunately. Once shipped in Chrome, it will have support from 3 of 4 implementations, so it should be relatively easy to use immediately.
Debuggability
This CSS property is supported in DevTools currently.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Is this feature fully tested by web-platform-tests?
Yes. All tests starting with backdrop-filter-* here.
Link to entry on the feature dashboard
Yes, here.
Requesting approval to ship?
Yes.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDjagt%3Ds4kWw41onfHK2j7YSH1hHpzJej51DAmmELaiRuw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/187610d7-0694-4120-8978-377702b7b4af%40chromium.org.
Cool!The Tag Review was filed just the other day so we should wait for them to look at it. Have you done the necessary (*insert slightly undefined action*) to get the review expedited?/Daniel
LGTM2, 531 stars is an impressive amount, thanks for prioritizing this!Looking at https://wpt.fyi/results/css/filter-effects/ I wonder if the existing test suite is good enough, since the passes and fails don't line up with what the implementation status seems to be. When implementing this, can you also vet the test suite and improve it where necessary?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDhr%3DSwiuyOzqWYa4tRwVSWzq%2BBNhneyQHprqiQip4D5Ww%40mail.gmail.com.
Contact emails
mason...@chromium.org, chri...@chromium.org
Explainer / Design Doc
Located here.
Spec
Located here.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDgjqKSogEz7%3DReajDEbD4x0VuSWbMJtYBLTPA5x7txpog%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYfrHVnJ%2BSe9Oir1Ly6xQDY0M5Y_B5SRoRBYXVhZOg9bRg%40mail.gmail.com.
Thanks for the questions, Yoav.Yes, that's correct - we added a note to indicate that the behavior is still under discussion. There is fairly strong support for our proposal from both Microsoft and Mozilla. However, Webkit still feels that the backdrop-filter should filter *everything* behind the element, all the way to the root. As you know from reading the spec, there is a fairly detailed motivation section that lays out some technical problems with that behavior. Webkit would like time to rebut that discussion - hence the note. Given the strength of our opinion that the technical problems with Webkit's proposal are real and difficult to solve, and given the support of 3 of 4 implementations, I would say the chances are high that this will "stick". There is no timebox on the discussion - it is waiting for Webkit's rebuttal.If we ship Chromium with the newly-specified behavior, and then later change to adopt the position being championed by Webkit, there could definitely be visual differences. However, in our survey of current/typical uses of the feature, there would not be a visual breakage. We were unable to find any existing uses of this feature that nested the backdrop-filtered element inside an element with filters or opacity. So our perception is that the risk here is quite low.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/bf06067a-7f60-49ad-ac39-6e9c80c98d82%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.