Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4bb8404a9fe929f8f2a38f39cf9b53effae2fcfa
https://github.com/WebKit/WebKit/commit/4bb8404a9fe929f8f2a38f39cf9b53effae2fcfa
Author: Jer Noble <[email protected]>
Date: 2026-06-11 (Thu, 11 Jun 2026)
Changed paths:
M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm
Log Message:
-----------
[visionOS] Disable lightspill when prefersSceneDimming is disabled
rdar://179287865
https://bugs.webkit.org/show_bug.cgi?id=316856
Reviewed by Abrar Rahman Protyasha.
Lightspill will add a darkening layer to the scene, regardless of the setting of
preferredSurroundingsEffect. To work around this behavior, disable lightspill at
the layer level when scene dimming is disabled.
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
(WebKit::setLightspillEnabledForElementFullscreenLayer):
(-[WKFullScreenWindowController
_enterFullScreen:windowScene:completionHandler:]):
(-[WKFullScreenWindowController toggleSceneDimming]):
(WebKit::configureElementFullscreenLayer): Deleted.
Canonical link:
https://flagged.apple.com:443/proxy?t2=Dy3r9e6hZ4&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE1MDU4QG1haW4=&emid=2e353321-fd02-475d-af6e-c5031f0dde97&c=11
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications