Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cea954f5b3064d559d8cd445c5db09be0858acc8
https://github.com/WebKit/WebKit/commit/cea954f5b3064d559d8cd445c5db09be0858acc8
Author: Lily Spiniolas <[email protected]>
Date: 2026-10-08 (Thu, 08 Oct 2026)
Changed paths:
M Source/WebCore/page/LocalFrameView.cpp
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ObscuredContentInsets.mm
Log Message:
-----------
Top color extension should be able to use relative colors with filters when
applicable
https://bugs.webkit.org/show_bug.cgi?id=326764
rdar://186098400
Reviewed by Abrar Rahman Protyasha and Simon Fraser.
In `primaryBackgroundColorForRenderer` in `LocalFrameView::fixedContainerEdges`,
apply the style's color filter to the returned color.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ObscuredContentInsets.mm
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::fixedContainerEdges const):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ObscuredContentInsets.mm:
(TestWebKitAPI::TEST(ObscuredContentInsets,
TopOverhangColorExtensionLayerAppliesColorFilter)):
(TestWebKitAPI::TEST(ObscuredContentInsets,
TopOverhangColorExtensionLayerResolvesRelativeColor)):
Canonical link: https://commits.webkit.org/323153@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications