Branch: refs/heads/webkitglib/2.48
  Home:   https://github.com/WebKit/WebKit
  Commit: f3b42a33675734e112e214b565c36e7956b1819d
      
https://github.com/WebKit/WebKit/commit/f3b42a33675734e112e214b565c36e7956b1819d
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2025-09-22 (Mon, 22 Sep 2025)

  Changed paths:
    A 
LayoutTests/svg/animations/smil-max-finite-repeatDur-indefinite-crash-expected.txt
    A LayoutTests/svg/animations/smil-max-finite-repeatDur-indefinite-crash.html
    M Source/WebCore/svg/animation/SVGSMILElement.cpp

  Log Message:
  -----------
  Cherry-pick 300165@main (19a1347c71e0). 
https://bugs.webkit.org/show_bug.cgi?id=299047

    REGRESSION(298715@main): SVG animation with finite 'max' and indefinite 
'repeatDur` causes the web page to jetsam
    https://bugs.webkit.org/show_bug.cgi?id=299047
    rdar://160099991

    Reviewed by Nikolas Zimmermann.

    When the SMIL ends because the elapsed time is greater than the 
intervalEnd, we
    should not use repeatingDuration to calculate 'repeat' value unless its 
value is
    finite. If it is value isIndefinite, we should use the duration since the 
begin
    of the animation.

    Test: svg/animations/smil-max-finite-repeatDur-indefinite-crash.html
    * 
LayoutTests/svg/animations/smil-max-finite-repeatDur-indefinite-crash-expected.txt:
 Added.
    * 
LayoutTests/svg/animations/smil-max-finite-repeatDur-indefinite-crash.html: 
Added.
    * Source/WebCore/svg/animation/SVGSMILElement.cpp:
    (WebCore::SVGSMILElement::calculateAnimationPercentAndRepeat const):

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

Canonical link: https://commits.webkit.org/290945.386@webkitglib/2.48



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

Reply via email to