GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.05k stars 9.32k forks source link

SVGs - Image displayed sizes should match their natural aspect ratio #4315

Closed 2kool2 closed 6 years ago

2kool2 commented 6 years ago

Why is this warning applied to SVGs? Neither the viewbox attribute, nor width and height, make any difference. Does it not defeat the purpose of using SVGs? For example this page only uses SVGs: https://websemantics.uk/

Could the reported message be amended to be either more accurate or more descriptive?

kdzwinel commented 6 years ago

This was fixed in #3722 and seems to be working correctly in 2.8.0:

screen shot 2018-01-21 at 02 00 01
patrickhulce commented 6 years ago

@kdzwinel nailed it, this should be fixed in latest LH use Chrome Canary, CLI, or extension for the updates :)