Cycle detection logic is spread over multiple files with different implementations: SVGSMILElement use SVGElement-based cycle detection logic, LegacyRenderSVGShape/Image/..., RenderSVGShape/Image/ResourceClipper/... use RenderElement-based cycle detection logic (abusing SVGHitTestCycleDetectionScope, which is now used throughout LBSE, not only for hit-testing). Provide a shared SVGVisitedElementTracking / SVGVisitedRendererTracking implementation that is used for recursion-prevention, used for both legacy & LBSE.
Pull request: https://github.com/WebKit/WebKit/pull/23995
Committed 274392@main (3bd5bd5c81f2): <https://commits.webkit.org/274392@main> Reviewed commits have been landed. Closing PR #23995 and removing active labels.
<rdar://problem/122672522>