Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 19059dff60c1e3c6a55bf861f8bba78cfc28ce22
https://github.com/WebKit/WebKit/commit/19059dff60c1e3c6a55bf861f8bba78cfc28ce22
Author: Rob Buis <[email protected]>
Date: 2026-01-14 (Wed, 14 Jan 2026)
Changed paths:
M Source/WebCore/rendering/svg/RenderSVGPath.cpp
Log Message:
-----------
[LBSE] Fix path-seg-nan-coordinates-linecap-crash.html crash
https://bugs.webkit.org/show_bug.cgi?id=305471
Reviewed by Nikolas Zimmermann.
In 299291@main path-seg-nan-coordinates-linecap-crash.html was added to test
inserting a PathSeg with NaN coordinates, but the fix was only implemented for
Legacy SVG. This PR adds the same fix for LBSE.
* Source/WebCore/rendering/svg/RenderSVGPath.cpp:
(WebCore::RenderSVGPath::adjustStrokeBoundingBoxForZeroLengthLinecaps const):
Canonical link: https://commits.webkit.org/305577@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications