Open Bug 1808785 Opened 2 years ago Updated 2 months ago

feTurbulence/feDisplacement don’t work with SVG backdrop-filters.

Categories

(Core :: Graphics, defect)

Firefox 108
defect

Tracking

()

People

(Reporter: luke, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

Consider the following reproduction, which applies a SVG filter (defined using a single feTurbulence layer and a single feDisplacement layer) to the “filter” of one element and the “backdrop-filter” of another: https://codepen.io/controversial/pen/zYLoobM

Actual results:

In the above codepen reproduction, notice that the HTML element with the SVG filter passed for its filter() is distorted, but the HTML element with a SVG filter passed for its backdrop-filter() does not distort its backdrop.

Expected results:

The paragraph should be distorted and the backdrop behind the white element should both be distorted—backdrop-filter should have similar SVG filter behavior to filter (note that Chrome distorts both elements as expected).

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

Component: Untriaged → SVG
Product: Firefox → Core
Component: SVG → Graphics

Confirmed difference between Firefox and Chrome on Windows. Probably not hugely impactful, so S4.
Over to :gw

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(gwatson)

We don't currently support SVG filter graphs on backdrop-filter. We have some work planned for H1 2023 that will add more native SVG filter support to webrender, we can build off this SVG filters in backdrop-filter.

Flags: needinfo?(gwatson)
Blocks: 1816630
No longer blocks: 1816630
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: