GoogleChrome / GoogleChrome/lighthouse
Don't show "Image elements do not have explicit width and height" for data URI images
Open
needs-investigation
P3
- Dominant language
- JavaScript
- Stars
- 30.8k
- Forks
- 9.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 19
Description
#### Provide the steps to reproduce
1. Run LH on https://ethan.link/
#### What is the current behavior?
It shows the "Image elements do not have explicit width and height" error for my images even though they're data URIs:

#### What is the expected behavior?
It shouldn't show the error since data URIs have zero loading time, meaning there is no need to add width/height attributes to prevent layout shift.
Contributor guide
Assessment
This issue has not been assessed yet.