Branch: refs/heads/webkitglib/2.50 Home: https://github.com/WebKit/WebKit Commit: 106a903c9651a718f3c4b63172c300549f5ce7dd https://github.com/WebKit/WebKit/commit/106a903c9651a718f3c4b63172c300549f5ce7dd Author: Said Abou-Hallawa <s...@apple.com> Date: 2025-09-03 (Wed, 03 Sep 2025)
Changed paths: M Source/WebCore/rendering/svg/SVGRenderSupport.cpp Log Message: ----------- Cherry-pick 299506@main (d84308a7b999). https://bugs.webkit.org/show_bug.cgi?id=298283 REGRESSION(269351@main): strokeBoundBox and repaintBoundingBox of the SVG renderers should never be NaN rects https://bugs.webkit.org/show_bug.cgi?id=298283 rdar://157022754 Reviewed by Simon Fraser. These functions: SVGRenderSupport::computeContainerStrokeBoundingBox() SVGRenderSupport::computeContainerBoundingBoxes() should never return NaN FloatRects. This prevent possible RELEASE_ASSERT from happening. Allowing NaN rects in Markable m_accurateRepaintBoundingBox and m_strokeBoundingBox make their caching state be confused. * Source/WebCore/rendering/svg/SVGRenderSupport.cpp: (WebCore::SVGRenderSupport::computeContainerBoundingBoxes): (WebCore::SVGRenderSupport::computeContainerStrokeBoundingBox): Canonical link: https://commits.webkit.org/299506@main Canonical link: https://commits.webkit.org/298234.115@webkitglib/2.50 To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes