Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5c716eb329990daee1e186c6a03623609b8589f4
https://github.com/WebKit/WebKit/commit/5c716eb329990daee1e186c6a03623609b8589f4
Author: Etienne Segonzac <[email protected]>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M LayoutTests/model-element/model-element-graphics-layers-expected.txt
M
LayoutTests/model-element/model-element-lazy-loading-unloading-expected.txt
M LayoutTests/model-element/model-element-lazy-loading-unloading.html
A
LayoutTests/platform/visionos/model-element/model-element-graphics-layers-expected.txt
M Source/WebKit/WebProcess/Model/WebModelPlayer.mm
Log Message:
-----------
WebModelPlayer should support setting the entityTransform while the model is
unloaded (hidden)
https://bugs.webkit.org/show_bug.cgi?id=316792
<rdar://179114750>
Reviewed by Mike Wyrzykowski.
If the entityTransform was set while the model was unloaded, we would
just drop the new transform and restore the old one on reload.
Instead, update the cached transform state state so we can restore the
correct transform on reload.
Tests: model-element/model-element-lazy-loading-unloading.html
* LayoutTests/model-element/model-element-graphics-layers-expected.txt:
Re-baseline after 314750@main.
*
LayoutTests/platform/visionos/model-element/model-element-graphics-layers-expected.txt:
Copied from
LayoutTests/model-element/model-element-graphics-layers-expected.txt.
Add a visionOS version without the background color.
* LayoutTests/model-element/model-element-lazy-loading-unloading-expected.txt:
* LayoutTests/model-element/model-element-lazy-loading-unloading.html:
Add a test covering this scenario.
* Source/WebKit/WebProcess/Model/WebModelPlayer.mm:
(WebKit::WebModelPlayer::setEntityTransform):
Update the transform on the cached transform state.
Canonical link: https://commits.webkit.org/314951@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications