[webkit-changes] [WebKit/WebKit] 72c7fe: [SVG] Handle animation freeze when 'repeatDur' is ...

Ahmad Saleem noreply at github.com
Mon Jan 23 08:52:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 72c7fe65cf68fde98a9403cbda725259e4eb081c
      https://github.com/WebKit/WebKit/commit/72c7fe65cf68fde98a9403cbda725259e4eb081c
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/svg/animations/animate-fill-freeze-with-repeatDur-expected.txt
    M Source/WebCore/svg/animation/SVGSMILElement.cpp

  Log Message:
  -----------
  [SVG] Handle animation freeze when 'repeatDur' is not a multiple of 'dur'

[SVG] Handle animation freeze when 'repeatDur' is not a multiple of 'dur'
https://bugs.webkit.org/show_bug.cgi?id=250977

Reviewed by Simon Fraser.

This patch is to align WebKit with Blink / Chromium and Gecko / Firefox.

Merge - https://src.chromium.org/viewvc/blink?view=revision&revision=154777

This patch reinstate the logic which was present originally in WebKit but
later remove, it is meant to handle the scenario 'repeatingDuration' is not
a multiple of 'simpleDuration'.

* Source/WebCore/svg/animation/SVGSMILElement.cpp:
(SVGSMILElement::calculateAnimationPercentAndRepeat): Update to handle multiple of 'simpleDuration'
* LayoutTests/imported/w3c/web-platform-tests/svg/animations/animate-fill-freeze-with-repeatDur-expected.txt: Rebaselined

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




More information about the webkit-changes mailing list