Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bab8a55628bad3394838ed9653ef121e563e4b3e
https://github.com/WebKit/WebKit/commit/bab8a55628bad3394838ed9653ef121e563e4b3e
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-over-earlier-backdrop-filter-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-over-earlier-backdrop-filter-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-over-earlier-backdrop-filter.html
M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
Log Message:
-----------
[GTK][WPE] backdrop-filter misses the backdrop-filter of earlier elements
https://bugs.webkit.org/show_bug.cgi?id=325626
Reviewed by Carlos Garcia Campos.
The Skia compositor paints the backdrop of a layer by painting the subtree of
its backdrop root again, without any of the backdrop filters in it. An earlier
layer with a backdrop filter of its own, which is not an ancestor of the
filtered layer, therefore showed up in the backdrop without its filter.
Only skip the backdrop filter of the layer whose backdrop is being painted.
The backdrop of an earlier layer is painted the same way, and stops at that
earlier layer, so the recursion ends there and never comes back to the later
layer.
Add a new WPT test to cover this scenario.
Test:
imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-over-earlier-backdrop-filter.html
*
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-over-earlier-backdrop-filter-expected.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-over-earlier-backdrop-filter-ref.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-over-earlier-backdrop-filter.html:
Added.
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::paintWithMaskAndBackdrop):
Canonical link: https://commits.webkit.org/322150@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications