Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6b6f9bf20977e73b0e9a070558ab0f9afd0ee668
https://github.com/WebKit/WebKit/commit/6b6f9bf20977e73b0e9a070558ab0f9afd0ee668
Author: Kiet Ho <[email protected]>
Date: 2026-03-15 (Sun, 15 Mar 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin-003-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin-003.sub-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin-003.sub.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/support/light-frame-empty.html
M Source/WebCore/page/Page.cpp
Log Message:
-----------
RemoteFrameLayoutInfo::useDarkAppearance should come from the owner element
of the frame
rdar://172508660
https://bugs.webkit.org/show_bug.cgi?id=309916
Reviewed by Ryosuke Niwa.
RemoteFrameLayoutInfo::useDarkAppearance is meant to be the appearance of the
_owner element_ of the child frame, but 308950@main took the appearance of the
parent frame instead. WPT tests don't catch this because the tests usually set
the appearance on the entire document, so the appearance of the document and
the owner element is the same. But it's possible for them to be different.
Test:
imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin-003.sub.html
*
LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin-003-ref.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin-003.sub-expected.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin-003.sub.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/support/light-frame-empty.html:
Added.
* Source/WebCore/page/Page.cpp:
(WebCore::Page::syncLocalFrameInfoToRemote):
Canonical link: https://commits.webkit.org/309292@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications