Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e7414e1a8b1901805c2724ff94fb5add7fb81214
https://github.com/WebKit/WebKit/commit/e7414e1a8b1901805c2724ff94fb5add7fb81214
Author: Anne van Kesteren <[email protected]>
Date: 2026-03-16 (Mon, 16 Mar 2026)
Changed paths:
M LayoutTests/compositing/contents-opaque/body-background-painted.html
M
LayoutTests/fast/scrolling/mac/wheel-event-listener-region-window-scrollable-expected.txt
M
LayoutTests/platform/glib/compositing/contents-opaque/body-background-painted-expected.txt
M
LayoutTests/platform/ios/compositing/contents-opaque/body-background-painted-expected.txt
M
LayoutTests/platform/mac-wk2/compositing/contents-opaque/body-background-painted-expected.txt
M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h
M Source/WebCore/page/LocalFrameView.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewUnderPageBackgroundColor.mm
Log Message:
-----------
Align LocalFrameView::documentBackgroundColor() with CSS
https://bugs.webkit.org/show_bug.cgi?id=308931
rdar://23607800
Reviewed by Wenson Hsieh.
Instead of always drawing the HTML body element background on top, we
should follow how CSS picks the canvas background color.
To be extra cautious, place this behind a linked-on-or-after check.
Canonical link: https://commits.webkit.org/309332@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications