Steps to Reproduce:
https://commons.wikimedia.org/wiki/File:W3C_SVG_11_TestSuite_struct-frag-04-t.svg
MediaWiki does not recognize the Size of the SVG and should take the size of the rendered image, similar to T194192.
Actual Results:
<img alt="Thumbnail for version as of 21:42, 2 April 2021" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/W3C_SVG_11_TestSuite_struct-frag-04-t.svg/120px-W3C_SVG_11_TestSuite_struct-frag-04-t.svg.png" decoding="async" width="120" height="120" data-file-width="512" data-file-height="512" />
Expected Results:
<img alt="Thumbnail for version as of 21:42, 2 April 2021" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/W3C_SVG_11_TestSuite_struct-frag-04-t.svg/120px-W3C_SVG_11_TestSuite_struct-frag-04-t.svg.png" decoding="async" width="120" height="90" data-file-width="479" data-file-height="359" />