We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any value for the CSS property object-fit other than fill can result in an image width that differs from img.clientWidth in
object-fit
fill
img.clientWidth
respimagelint/src/collector/readDimensions.js
Line 168 in 5016577
This property should be taken into account.
Sadly, there seems to be no JavaScript API for accessing the actual display image size inside the <img> if object-fit is used.
<img>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Any value for the CSS property
object-fit
other thanfill
can result in an image width that differs fromimg.clientWidth
inrespimagelint/src/collector/readDimensions.js
Line 168 in 5016577
This property should be taken into account.
Sadly, there seems to be no JavaScript API for accessing the actual display image size inside the
<img>
ifobject-fit
is used.The text was updated successfully, but these errors were encountered: