Bug 252533
| Summary: | Avoid drawing SVG image content when the image is of zero size | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | SVG | Assignee: | 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 | ||
Ahmad Saleem
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!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105923026>
Ahmad Saleem
It does not crash on Debug build in WebKit.
I don't think we would need this. Marking this as "RESOLVED INVALID".