Suggestion: log warning when img sizes is invalid
Reported by
oliverj...@gmail.com,
Aug 31 2017
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.25 Safari/537.36 Steps to reproduce the problem: 1. Create an img with an invalid sizes attribute 2. Open the console What is the expected behavior? A warning or error What went wrong? No warning or error Did this work before? N/A Chrome version: 61.0.3163.25 Channel: n/a OS Version: OS X 10.12.6 Flash Version: In the interim, it is possible to verify a sizes is valid using this library: https://github.com/albell/parse-sizes
,
Dec 13 2017
Thanks for filing @oliverjash, we've added the suggestion to the Lighthouse backlog where you can track discussion. https://github.com/GoogleChrome/lighthouse/issues/4047 |
||
►
Sign in to add a comment |
||
Comment 1 by pfeldman@chromium.org
, Aug 31 2017Status: Assigned (was: Unconfirmed)