Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backdrop-filter stops working when a regular filter is present on the element #3187

Open
1 task
Psychpsyo opened this issue Jan 8, 2025 · 0 comments
Open
1 task
Labels
bug Something isn't working painting Related to painting subsystem

Comments

@Psychpsyo
Copy link
Contributor

Summary

When I put both a backdrop-filter and a filter on an element in ladybird using css, the backdrop one stops working.

Operating system

Linux

Steps to reproduce

  1. Add a backdrop-filter and a regular filter to an element.
  2. Observe that the backdrop one does not work.

Expected behavior

Both filters should have a visible effect.

Actual behavior

The element visually behaves as if it didn't have a backdrop-filter.

URL for a reduced test case

data:text/html,This should be very blurred.<div style="backdrop-filter: blur(8px);filter: blur(2px);position: absolute;top: 0;left: 0;width: 100%;height: 100%">This should be a little blurred and on top.</div>

HTML/SVG/etc. source for a reduced test case

<style>
  div {
    backdrop-filter: blur(8px);
    filter: blur(2px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
</style>

This should be very blurred.
<div>This should be a little blurred and on top.</div>

Log output and (if possible) backtrace

None

Screenshots or screen recordings

Ladybird:
image

Firefox:
image

Build flags or config settings

None

Contribute a patch?

  • I’ll contribute a patch for this myself.
@Psychpsyo Psychpsyo changed the title backdrop-filter stops working when a refular filter is present on the element backdrop-filter stops working when a regular filter is present on the element Jan 9, 2025
@AtkinsSJ AtkinsSJ added bug Something isn't working painting Related to painting subsystem labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working painting Related to painting subsystem
Projects
None yet
Development

No branches or pull requests

2 participants