Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 92591db4ec9b22d73f9fb31f949bd15182aac08c
https://github.com/WebKit/WebKit/commit/92591db4ec9b22d73f9fb31f949bd15182aac08c
Author: Aleksei Marchenko <[email protected]>
Date: 2026-04-21 (Tue, 21 Apr 2026)
Changed paths:
M LayoutTests/model-element/model-element-animations-loop-expected.txt
M LayoutTests/model-element/model-element-animations-loop.html
M LayoutTests/model-element/model-element-animations-playback-expected.txt
M LayoutTests/model-element/model-element-animations-playback.html
M Source/WebCore/Modules/model-element/ModelPlayerAnimationState.cpp
M Source/WebKit/WebKitSwift/RealityKit/WKRKEntity.swift
M Source/WebKit/WebProcess/Model/ModelProcessModelPlayer.cpp
Log Message:
-----------
[visionOS] Support negative playbackRate in <model>
https://bugs.webkit.org/show_bug.cgi?id=280081
rdar://136346356
Reviewed by Mike Wyrzykowski.
Remove clamps that prevented negative playbackRate value.
Add layout tests for negative rate play/pause and negative rate looping.
* LayoutTests/model-element/model-element-animations-loop-expected.txt:
* LayoutTests/model-element/model-element-animations-loop.html:
* LayoutTests/model-element/model-element-animations-playback-expected.txt:
* LayoutTests/model-element/model-element-animations-playback.html:
* Source/WebCore/Modules/model-element/ModelPlayerAnimationState.cpp:
(WebCore::ModelPlayerAnimationState::setPlaybackRate):
(WebCore::ModelPlayerAnimationState::currentTime const):
* Source/WebKit/WebKitSwift/RealityKit/WKRKEntity.swift:
(WKRKEntity.playbackRate):
* Source/WebKit/WebProcess/Model/ModelProcessModelPlayer.cpp:
(WebKit::ModelProcessModelPlayer::setPlaybackRate):
Canonical link: https://commits.webkit.org/311747@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications