-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
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
Fix a step in 'update the image data' #8182
base: main
Are you sure you want to change the base?
Conversation
Fix the 'update the image data' algorithm when src is set to the same value. Fixes #8080.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I would prefer the commit message use a word like "Fix" instead of "Clarify", and mention in particular the problem ("this only restarts the animation / returns if current request's state is partially available, not if it's completely available. That seems wrong") since I thought at first this was editorial.
Tests would be nice if you could, but I can understand that this is probably just an oversight and not worth testing. Maybe worth digging around to see if it's already tested, I guess.
See #8080 (comment) |
Fix the 'update the image data' algorithm when src is set to the same value. Previously, it would only restart the animation / return if current request's state is partially available, not if it's completely available.
Fixes #8080.
/images.html ( diff )