Bug 252533

Summary: Avoid drawing SVG image content when the image is of zero size
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: sabouhallawa, simon.fraser, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-02-18 05:50:37 PST
Hi Team,

While going through Blink's commit, I came across following commit, which can be merged:

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/daf21244f34745d145bce6e0524259f2f59c3bce

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/svg/LegacyRenderSVGImage.cpp#179

It seems to be good patch to merge, appreciate if someone can confirm and happy to do PR.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-02-25 05:51:22 PST
<rdar://problem/105923026>
Comment 2 Ahmad Saleem 2023-07-25 11:49:11 PDT
It does not crash on Debug build in WebKit.

I don't think we would need this. Marking this as "RESOLVED INVALID".