backdrop-filter doesn't blur remote <browser> element
Categories
(Core :: Graphics: WebRender, defect, P2)
Tracking
()
People
(Reporter: userChrome.css, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
-
Using userChrome.css custom file before backdrop-filter was disabled, fixed and re-enabled (around ver. 95.0), you could set this CSS property for firefox UI elements, like:
-- absolute position bookmarks bar;
-- search breakout megabar;
-- tabs, etc. -
Attached pictures - shows you could use backdrop-filter for UI elements before.
Is that a bug or is there a reason it was disabled for UI elements after re-enabling it?
Comment 1•2 years ago
|
||
Checked with Glenn, and this definitely appears to be a regression.
Reporter | ||
Comment 2•1 year ago
|
||
Just wanted to let you know that it still broken on Firefox v115/v117nightly.
One thing I noticed that blur rendering works in settings menu.
Reporter | ||
Comment 3•1 year ago
|
||
Forgot to mention that flag "layout.css.backdrop-filter.enabled" is used.
Updated•8 months ago
|
Updated•7 months ago
|
Comment 4•7 months ago
|
||
I was poking at some of these effects and found this issue.
Here's a patch that reproduces the issue:
diff --git a/browser/themes/shared/urlbar-searchbar.css b/browser/themes/shared/urlbar-searchbar.css
index b5684c5f6f4b9..a3ff1a8c2b3e4 100644
--- a/browser/themes/shared/urlbar-searchbar.css
+++ b/browser/themes/shared/urlbar-searchbar.css
@@ -242,6 +242,8 @@
}
#urlbar[breakout][breakout-extend] > #urlbar-background {
+ background-color: rgba(0, 0, 0, .3);
+ backdrop-filter: blur(10px);
animation-name: urlbar-grow;
animation-duration: 0s;
animation-timing-function: var(--animation-easing-function);
What is going on is that blurring remote tabs (like the new tab page) doesn't work. However blurring same-process tabs like about:config
does work.
I thought this could be more general but http://crisal.io/tmp/backdrop-filter-iframe.html indicates this works for content... Glenn, do you know the difference here off-hand? Are top level tabs treated specially by webrender vs. cross-origin iframes? I would've expected them to be somewhat similar from WR's side.
Comment 5•7 months ago
|
||
They will look quite different from WR side (remote tabs get an iframe
display item, local tabs get embedded in parent display list). Having said that, I'm not sure why that would make any difference to whether backdrop-filter works on it, so it will need investigation.
Comment 6•7 months ago
|
||
Right, but my point is that in the test-case above (http://crisal.io/tmp/backdrop-filter-iframe.html), I have a local iframe and a remote iframe, and those both work, right?
Comment 7•7 months ago
|
||
But yeah maybe there's something weird going on there on the top level display list or something.
Description
•