You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in the "update the image data" algorithm for img, if the loaded image is the same as the previous image, it will still fire a load event. Similarly for error (see #4480).
Investigate if it's compatible to change this to avoid firing load or error when there was no change (other than updating the current pixel density).
If this change appears too risky, I think we could first try to change the “load the image data” algorithm to avoid firing “load” and “error” events in more cases. If that is compatible, then it should alleviate the main compat risk for auto-sizes.
Currently, in the "update the image data" algorithm for
img
, if the loaded image is the same as the previous image, it will still fire aload
event. Similarly forerror
(see #4480).Investigate if it's compatible to change this to avoid firing
load
orerror
when there was no change (other than updating the current pixel density).See discussion in #8008
@zcorpan
@yoavweiss
The text was updated successfully, but these errors were encountered: