[webkit-changes] [WebKit/WebKit] 138b68: [scroll-animations] computed iteration duration of...

Antoine Quint noreply at github.com
Wed Dec 11 07:39:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 138b68e85fc4a0050346b8b5f2deef331b7e453b
      https://github.com/WebKit/WebKit/commit/138b68e85fc4a0050346b8b5f2deef331b7e453b
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/effect-updateTiming-expected.txt
    M Source/WebCore/animation/AnimationEffectTiming.cpp

  Log Message:
  -----------
  [scroll-animations] computed iteration duration of progress-based animation is incorrect with `auto` duration and multiple iterations
https://bugs.webkit.org/show_bug.cgi?id=284454
rdar://141276883

Reviewed by Tim Nguyen and Anne van Kesteren.

Ensure we account for the number of iterations when computing the iteration duration if there
was no specified iteration duration, ie. when `auto` was set for the `duration`.

* LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/effect-updateTiming-expected.txt:
* Source/WebCore/animation/AnimationEffectTiming.cpp:
(WebCore::AnimationEffectTiming::updateComputedProperties):

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



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


More information about the webkit-changes mailing list