Skip to content
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

"Updating the image data" algorithm does not set image's last selected source in responsive mode #5060

Open
jdm opened this issue Nov 5, 2019 · 0 comments

Comments

@jdm
Copy link
Member

jdm commented Nov 5, 2019

When there is no srcset or picture parent, the last selected source is set in step 5 of https://html.spec.whatwg.org/multipage/images.html#updating-the-image-data. After that, it is only set during step 15.2 of https://html.spec.whatwg.org/multipage/images.html#reacting-to-environment-changes, which is a separate algorithm. This seems like an oversight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants