NEW280531
`backdrop-filter` is applied incorrectly to child element
https://bugs.webkit.org/show_bug.cgi?id=280531
Summary `backdrop-filter` is applied incorrectly to child element
Holger Seelig
Reported 2024-09-27 11:59:17 PDT
Created attachment 472709 [details] `backdrop-filter` is applied incorrectly to child element There are two elements parent and child with a backdrop-filter, child has position "absolute", but only parent will have a backdrop-filter. Affects Safari on macOS. As far as I know only Firefox will also apply the backdrop-filter to the child.
Attachments
`backdrop-filter` is applied incorrectly to child element (643 bytes, text/html)
2024-09-27 11:59 PDT, Holger Seelig
no flags
Firefox rendering (1.02 MB, image/png)
2024-09-27 12:02 PDT, Holger Seelig
no flags
Safari rendering (1.48 MB, image/png)
2024-09-27 12:03 PDT, Holger Seelig
no flags
Holger Seelig
Comment 1 2024-09-27 12:00:23 PDT
Correction: only parent renders a backdrop-filter.
Holger Seelig
Comment 2 2024-09-27 12:02:32 PDT
Created attachment 472710 [details] Firefox rendering
Holger Seelig
Comment 3 2024-09-27 12:03:22 PDT
Created attachment 472711 [details] Safari rendering
Karl Dubost
Comment 4 2024-10-02 06:12:04 PDT
Chrome and Safari behave the same way. Firefox is different. .blurred { -webkit-backdrop-filter: blur(3px) invert(1); backdrop-filter: blur(3px) invert(1); } .parent, .child { width: 200px; height: 50px; border: 1px solid red; } .parent { position: relative; } .child { position: absolute; left: 210px; } <div class="parent blurred"> <div class="child blurred">child</div> parent </div>
Radar WebKit Bug Importer
Comment 5 2024-10-04 12:00:15 PDT
Note You need to log in before you can comment on or make changes to this bug.