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

gi11es has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images-4] Resolution negotiation should be linked to srcset spec ==
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 (https://github.com/w3c/preload/issues/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.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3681 using your GitHub account

Received on Wednesday, 27 February 2019 09:36:33 UTC