Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1b1ca4437c16d15f3c9ef82ae0a103e71017678e
      
https://github.com/WebKit/WebKit/commit/1b1ca4437c16d15f3c9ef82ae0a103e71017678e
  Author: Antoine Quint <grao...@webkit.org>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    A 
LayoutTests/webanimations/accelerated-translate-animation-underlying-value-changed-in-flight-expected.html
    A 
LayoutTests/webanimations/accelerated-translate-animation-underlying-value-changed-in-flight.html
    M Source/WebCore/animation/KeyframeEffect.cpp
    M Source/WebCore/animation/KeyframeEffect.h

  Log Message:
  -----------
  [web-animations] changing the value of a transform property while that 
property is animated with an implicit keyframe does not update the animation
https://bugs.webkit.org/show_bug.cgi?id=272387

Reviewed by Dean Jackson.

Ensure we re-compute accelerated animations targeting a transform-related 
property if it uses an implicit keyframe.

* 
LayoutTests/webanimations/accelerated-translate-animation-underlying-value-changed-in-flight-expected.html:
 Added.
* 
LayoutTests/webanimations/accelerated-translate-animation-underlying-value-changed-in-flight.html:
 Added.
* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::propertiesContainTransformRelatedProperty):
(WebCore::KeyframeEffect::isRunningAcceleratedTransformRelatedAnimation const):
(WebCore::KeyframeEffect::transformRelatedPropertyDidChange):
(WebCore::KeyframeEffect::isTargetingTransformRelatedProperty const): Deleted.
* Source/WebCore/animation/KeyframeEffect.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to