Closed Bug 1766501 Opened 2 years ago Closed 2 years ago

`backdrop-filter` blur not applied at edges of viewport

Categories

(Core :: Graphics: WebRender, defect, P3)

Firefox 101
defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: cc.glows, Assigned: gw, NeedInfo)

References

Details

Attachments

(9 files)

Steps to reproduce:

  1. Visit https://rw7gmt.csb.app/

Version 101.0a1 (2022-04-26) (64-bit)

Actual results:

The blurring is not applied around the edges of the pane near the viewport

Expected results:

The blurring should be consistently applied

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core
Blocks: 1749625
Severity: -- → S3
Flags: needinfo?(gwatson)
Priority: -- → P3
Assignee: nobody → gwatson
Flags: needinfo?(gwatson)
Attached image gecko.png

Current Firefox of this test case

Attached image mac.png

Current Safari on this test case

Attached image chrome.png

Current chrome on this test case

Attached file edge-blur.html

Different output in each browser due to edgeMode issues.

Attached image safari.png

Safari - seems to get edgeMode correct

Attached image gecko.png

Gecko - doesn't take edgeMode into account

Attached image chrome.png

Chromium - seems to get edgeMode right on one axis only?

Chrome Canary seems to have fixed this, I think. At least I don't see the rendering in comment 8. On stable I see edgeMode only on the top axis, ironically.

I'm not well-versed in this, but I believe edgeMode="duplicate" causes the poor visual flickering effect for things like sticky navbar panes:

I think you want to use edgeMode="reflect" (like Safari)

The current specification draft says to use duplicate, so let's land this for now (as it's much better than edgeMode = None which is what it currently is, and is a very simple change). Let's then open a separate bug as a follow up add reflect mode, which is slightly more involved (but still not a huge amount of work).

Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3eb72608074
Make backdrop-filter blurs use Duplicate for edgeMode r=gfx-reviewers,lsalzman
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Flags: qe-verify+

I could not reproduce this issue on my end on a 2022-04-26 Nightly build on Windows 10.
Would you be so kind as to confirm the fix on the latest beta/nightly builds?
Thank you.

Flags: needinfo?(cc.glows)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: