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

[css-images-4] Resolution negotiation should be linked to srcset spec #3681

Open
gi11es opened this issue Feb 27, 2019 · 0 comments
Open

[css-images-4] Resolution negotiation should be linked to srcset spec #3681

gi11es opened this issue Feb 27, 2019 · 0 comments

Comments

@gi11es
Copy link

gi11es commented Feb 27, 2019

At the moment the handwavy definitions are independent, which means that the UA might implement different logic there, making image-set incompatible with the newly introduced imagesrcset preloading capability (w3c/preload#120).

If the definition of the resolution negotiation was shared between both specs (whatwg html and css images), it would enforce that browsers use the same logic for these related features, making imagesrcset preloading a feature that can be combined with image-set.

At the moment the implementation of both on Chrome 73 is incompatible at certain zoom/density levels, making the wrong size preloaded for an identical definition of source sets between a link with imagesrcset and an element with image-set.

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

No branches or pull requests

2 participants