Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 19a1347c71e0731cda80f988622c19ecadd32d86
https://github.com/WebKit/WebKit/commit/19a1347c71e0731cda80f988622c19ecadd32d86
Author: Said Abou-Hallawa <[email protected]>
Date: 2025-09-18 (Thu, 18 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:
-----------
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
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