Closed Bug 2092494 Opened 14 days ago Closed 7 days ago

backdrop-filter: blur() does not render correctly in Firefox

Categories

(Core :: Graphics: WebRender, defect)

Firefox 157
defect

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
relnote-firefox --- 163+
firefox-esr115 --- unaffected
firefox-esr153 --- unaffected
firefox160 --- wontfix
firefox161 --- wontfix
firefox162 --- wontfix
firefox163 --- fixed

People

(Reporter: essarea, Assigned: gw)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(4 files, 1 external file)

Attached file blur.html —

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:160.0) Gecko/20100101 Firefox/160.0

Steps to reproduce

An HTML example is in the attached file, blur.html

  1. Create a div with an image/background.
  2. Apply the following CSS to the div :

transform:translate3d(0,0,0);
backface-visibility:hidden;

  1. Place an other element in the div
  2. Apply the following CSS to the element:

background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(5px);

  1. Open the webpage in Firefox.
  2. Compare the rendering with Chrome.

Actual results

The backdrop blur effect is not rendered correctly in Firefox 160.

The blured element is displayed, but the content/background behind the element is not blurred as expected.

The same CSS works correctly in Firefox ≤156 and in Chrome.

Expected results

The content/background behind the element should be blurred by 5px using backdrop-filter: blur(5px), matching the expected behavior seen in Firefox ≤156 or Chrome.

Attached image blur bug —
Attached image blur expected —
Attachment #9682444 - Attachment mime type: application/octet-stream → image/jpeg
Attachment #9682443 - Attachment description: Blur bug → blur bug
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Regressed by: 2066633

Set release status flags based on info from the regressing bug 2066633

:gw, since you are the author of the regressor, bug 2066633, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Only skip a WRAPS_BACKDROP_FILTER stacking context when it has its own surface,
and root the backdrop capture at the nearest picture with a surface, so the
backdrop includes both what the wrapper and its ancestors drew before it.

Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Flags: needinfo?(mozilla)
Pushed by gwatson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e4ac6b17d3c6 https://hg.mozilla.org/integration/autoland/rev/e1f77c5853ce Resolve a backdrop-filter in a pass-through wrapper from the enclosing surface. r=gfx-reviewers,bradwerth
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/406a027723f0 https://hg.mozilla.org/integration/autoland/rev/fd151ee24a42 Revert "Bug 2092494 - Resolve a backdrop-filter in a pass-through wrapper from the enclosing surface. r=gfx-reviewers,bradwerth" for causing wr testa failures at css/filter-effects

Backed out for causing wr tests failures at css/filter-effects
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-FAIL | /css/filter-effects/backdrop-filter-in-transform-clip-surface-content.html | Testing http://web-platform.test:8000/css/filter-effects/backdrop-filter-in-transform-clip-surface-content.html == http://web-platform.test:8000/css/filter-effects/backdrop-filter-in-transform-clip-surface-content-ref.html
TV Failure log

Flags: needinfo?(mozilla)

Set release status flags based on info from the regressing bug 2066633

Severity: -- → S3
Flags: needinfo?(mozilla)
Pushed by gwatson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/849a753e3370 https://hg.mozilla.org/integration/autoland/rev/bafdb2242929 Resolve a backdrop-filter in a pass-through wrapper from the enclosing surface. r=gfx-reviewers,bradwerth

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/65507 for changes under testing/web-platform/tests

Status: ASSIGNED → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch

Upstream PR merged by moz-wptsync-bot

Did you want to nominate this for the Fx163 relnotes? If so, set the relnote-firefox flag to "?"
https://wiki.mozilla.org/Release_Management/Release_Notes_Nomination

Possible wording:

Fixed backdrop-filter: blur() not blurring the background in some page layouts.

Flags: needinfo?(mozilla)

Release Note Request (optional, but appreciated)
[Affects Firefox for Android]: Yes
[Suggested wording]: Fixed backdrop-filter: blur() not blurring the background in some page layouts.

relnote-firefox: --- → ?
Flags: needinfo?(mozilla)

Added to the Fx163 relnotes.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: