Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4e73e067c843af912b8e2628a3a9f58f7e702966
      
https://github.com/WebKit/WebKit/commit/4e73e067c843af912b8e2628a3a9f58f7e702966
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-03-29 (Sun, 29 Mar 2026)

  Changed paths:
    M Source/WebCore/svg/SVGAnimationElement.cpp

  Log Message:
  -----------
  Fix std::accumulate truncating float values in parseKeyTimes assertion
https://bugs.webkit.org/show_bug.cgi?id=310972
rdar://173577708

Reviewed by Antoine Quint.

The ASSERT used 0 (int) as the initial value, causing all float
values to be truncated to int during accumulation, making the
assertion always trivially pass. Use 0.0f instead.

* Source/WebCore/svg/SVGAnimationElement.cpp:
(WebCore::parseKeyTimes):

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



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

Reply via email to