Bug 252533 - Avoid drawing SVG image content when the image is of zero size
Summary: Avoid drawing SVG image content when the image is of zero size
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-18 05:50 PST by Ahmad Saleem
Modified: 2023-07-25 11:49 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".