Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 748235460fb6c55b84993596d7eff50ed045de8e
https://github.com/WebKit/WebKit/commit/748235460fb6c55b84993596d7eff50ed045de8e
Author: Antoine Quint <[email protected]>
Date: 2026-04-13 (Mon, 13 Apr 2026)
Changed paths:
M
LayoutTests/webanimations/threaded-animations/accelerated-animations-and-implicit-keyframes-expected.txt
M
LayoutTests/webanimations/threaded-animations/accelerated-animations-and-implicit-keyframes.html
A
LayoutTests/webanimations/threaded-animations/fill-mode-adjustment-implicit-from-keyframe-expected.txt
A
LayoutTests/webanimations/threaded-animations/fill-mode-adjustment-implicit-from-keyframe.html
A
LayoutTests/webanimations/threaded-animations/fill-mode-adjustment-implicit-to-keyframe-expected.txt
A
LayoutTests/webanimations/threaded-animations/fill-mode-adjustment-implicit-to-keyframe.html
M Source/WebCore/animation/KeyframeEffectStack.cpp
Log Message:
-----------
[threaded-animations] allow acceleration for effects composing using implicit
keyframes
https://bugs.webkit.org/show_bug.cgi?id=312140
rdar://174646583
Reviewed by Simon Fraser and Anne van Kesteren.
If an effect stack featured several effects animating the same underlying
accelerated property
with implicit keyframes, we would disable acceleration support throughout the
stack as a legacy
behavior from the non-threaded animation support.
However, with threaded animations, there is no reason not to support
acceleration in this case
and attempting to write a test case when fixing bug 310806 in 310985@main made
this obvious.
We address this and ensure we update tests for threaded animations covering
that behavior
and add new tests that we were originally aiming to write for bug 310806.
Note that
`webanimations/threaded-animations/accelerated-animations-and-implicit-keyframes.html`
still tests the legacy behavior described above.
Tests:
webanimations/threaded-animations/fill-mode-adjustment-implicit-from-keyframe.html
webanimations/threaded-animations/fill-mode-adjustment-implicit-to-keyframe.html
*
LayoutTests/webanimations/threaded-animations/accelerated-animations-and-implicit-keyframes-expected.txt:
*
LayoutTests/webanimations/threaded-animations/accelerated-animations-and-implicit-keyframes.html:
*
LayoutTests/webanimations/threaded-animations/fill-mode-adjustment-implicit-from-keyframe-expected.txt:
Added.
*
LayoutTests/webanimations/threaded-animations/fill-mode-adjustment-implicit-from-keyframe.html:
Added.
*
LayoutTests/webanimations/threaded-animations/fill-mode-adjustment-implicit-to-keyframe-expected.txt:
Added.
*
LayoutTests/webanimations/threaded-animations/fill-mode-adjustment-implicit-to-keyframe.html:
Added.
* Source/WebCore/animation/KeyframeEffectStack.cpp:
(WebCore::KeyframeEffectStack::allowsAcceleration const):
Canonical link: https://commits.webkit.org/311112@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications