Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c02bd8528b3f86e7fa1c451b32837b07c5eee660
https://github.com/WebKit/WebKit/commit/c02bd8528b3f86e7fa1c451b32837b07c5eee660
Author: Etienne Segonzac <[email protected]>
Date: 2025-06-09 (Mon, 09 Jun 2025)
Changed paths:
M LayoutTests/platform/visionos/TestExpectations
A
LayoutTests/platform/visionos/transforms/separated-image-animated-expected.txt
A LayoutTests/platform/visionos/transforms/separated-image-animated.html
M Source/WebCore/rendering/RenderLayerBacking.cpp
Log Message:
-----------
[visionOS] We shouldn't use WKSeparatedImage layers for animated images
https://bugs.webkit.org/show_bug.cgi?id=294108
<rdar://152706039>
Reviewed by Simon Fraser.
Check `Image::isAnimated()` when updating separated properties to avoid
using a `WKSeparatedImage` layer type for GIFs (and others).
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateSeparatedProperties):
Add the check.
*
LayoutTests/platform/visionos/transforms/separated-image-animated-expected.txt:
Added.
* LayoutTests/platform/visionos/transforms/separated-image-animated.html: Added.
Add a test.
* LayoutTests/platform/visionos/TestExpectations:
Checked locally, the suite is currently skipped in EWS.
Canonical link: https://commits.webkit.org/296006@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes