Created attachment 463215 [details] Minimized testcase See attached testcase, originally from bug comment 8. This is the same assertion as bug 206897 and bug 206579, but the repro case seems slightly different, so opening just in case. Reproduced at https://commits.webkit.org/255418@main with macos/gtk debug builds.
<rdar://problem/101806737>
Created attachment 463759 [details] Patch
Comment on attachment 463759 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=463759&action=review > Source/WebCore/svg/graphics/SVGImageCache.cpp:60 > + if (containerSizeWithoutZoom.width() >= 1.f && containerSizeWithoutZoom.height() >= 1.f) Hmm, But a containerSizeWihtoutZoom of 0.1 is fine, no? (with a zoom factor of e.g. 10). I'm slightly confused -- I would have expected to judge if we should cache or not, based on the zoom factor? If it changes, we're going to redraw the SVGImage anyhow, right?