Open
Description
https://html.spec.whatwg.org/multipage/images.html#updating-the-image-data
step 13:
If urlString is the same as the current request's current URL and current request's state is partially available, then abort the image request for the pending request, queue an element task on the DOM manipulation task source given the img element to restart the animation if restart animation is set, and return.
So this only restarts the animation / returns if current request's state is partially available, not if it's completely available. That seems wrong. cc @yoavweiss
I think it should be:
- If urlString is the same as the current request's current URL:
- If current request's state is partially available, then abort the image request for the pending request.
- If restart animation is set, then queue an element task on the DOM manipulation task source given the img element to restart the animation.
- Return.