Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a2e342593d0f77b0bd00abc2f4fc6d4ec7ab6f28
https://github.com/WebKit/WebKit/commit/a2e342593d0f77b0bd00abc2f4fc6d4ec7ab6f28
Author: Cole Carley <[email protected]>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M LayoutTests/platform/mac/TestExpectations
M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
Log Message:
-----------
Fix content visibility rendering for hosted materials
https://bugs.webkit.org/show_bug.cgi?id=309094
rdar://162402260
Reviewed by Aditya Keerthi.
The problem is that glass material styles are not on the main layer or the
backdrop
layer. Updating contents visibility, correctly hid these two layers, but did
not hide
the structural layer.
The fix is to hide the structural layer if it's for material. This is a similar
pattern seen throughout GraphicsLayerCA for material hosting.
* Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::updateContentsVisibility):
Canonical link: https://commits.webkit.org/308591@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications