Show console msg when explicitly lazyloaded img doesn't have dimensions
When lazyload is triggered by developer opt-in using loadin=lazy, img dimensions are expected to be provided as well, since that will have better performance. If dimensions is not provided via attributes or inline style, this CL shows a console message and also records UseCounter Bug: 973124 Change-Id: I159e5d4e1c0e32f32911163463dbcd600ff80f7f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670063 Commit-Queue: rajendrant <rajendrant@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Scott Little <sclittle@chromium.org> Cr-Commit-Position: refs/heads/master@{#671954}
Showing
Please register or sign in to comment