Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42b3f8d9178498cd6a992ee304cdaf0bf215f936
      
https://github.com/WebKit/WebKit/commit/42b3f8d9178498cd6a992ee304cdaf0bf215f936
  Author: Nipun Shukla <[email protected]>
  Date:   2025-12-18 (Thu, 18 Dec 2025)

  Changed paths:
    A 
LayoutTests/webanimations/simultaneous-animations-removed-separately-expected.txt
    A LayoutTests/webanimations/simultaneous-animations-removed-separately.html
    M Source/WebCore/animation/KeyframeEffect.cpp
    M Source/WebCore/animation/WebAnimation.h

  Log Message:
  -----------
  REGRESSION (289928@main): Svelte transition fade + transition scale results 
in flashing
https://bugs.webkit.org/show_bug.cgi?id=303217
rdar://165583864

Reviewed by Antoine Quint.

289928@main centralized effect stack membership updates but inadvertently
removed immediate stopping of accelerated animations when effects are removed
from the stack. This patch restores that, preventing a visible flash. It also
ensures that when animations are removed, they are allowed to finish before
removal.

* 
LayoutTests/webanimations/simultaneous-animations-removed-separately-expected.txt:
 Added.
* LayoutTests/webanimations/simultaneous-animations-removed-separately.html: 
Added.
* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::wasRemovedFromEffectStack):
* Source/WebCore/animation/WebAnimation.h:
(WebCore::WebAnimation::hasPendingFinishNotification const):

Canonical link: https://commits.webkit.org/304710@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to