Closed Bug 1785223 Opened 2 years ago Closed 2 years ago

backdrop-filter not working with z-index and mix-blend-mode

Categories

(Core :: Graphics: WebRender, defect)

Firefox 103
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: adrian.drechsel, Assigned: gw)

References

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0

Steps to reproduce:

  1. Make a background container with position and z-index that contains an element with mix-blend-mode other than normal.
  2. Make a separate overlay element with backdrop-filter (e.g. blur).

example: https://jsfiddle.net/Dollhopf/tpdeabr1/67/

Actual results:

The complete background is not effected by any backdrop-filter.

Expected results:

The complete background should be affected by a backdrop-filter (e.g. blur).

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
Status: UNCONFIRMED → NEW
Ever confirmed: true

Adrian, could you please attach your about:support output to this report when you get a chance? Thanks!

Severity: -- → S3
Flags: needinfo?(adrian.drechsel)
Attached file about:support
Attached image Bug.png

Firefox Vs Chrome

Flags: needinfo?(adrian.drechsel) → needinfo?(bhood)
See Also: → 1781159, 1782876
Flags: needinfo?(bhood) → needinfo?(gwatson)
Blocks: 1782834
Flags: needinfo?(gwatson)
Assignee: nobody → gwatson

The problem is at [1] - what happens is that we create a picture cache slice for the mix-blend container, assuming that no other content will rely on it. However, it is part of a valid backdrop-root in this case.

[1] https://searchfox.org/mozilla-central/source/gfx/wr/webrender/src/scene_building.rs#2222

Depends on: 1787089
Blocks: 1782590

This is fixed by bug 1787089

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: