You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2020. It is now read-only.
Right now, srcsetw descriptors set the intrinsic width of the image.
There was a lot of talk back in the day about adding an h descriptor, which would – in addition to allowing browsers to select sources for images whose layout size is constrained on height – set the intrinsic height of the resource.
Does this proposal have any advantages over this (which was proposed but not yet spec'd or implemented):
<imgsrcset="image.jpg 600w 400h" />
?
I can see some disadvantages.
It is more verbose, even in simple non-responsive cases.
In responsive cases, It is not clear how intrinsicsizes would allow for different intrinsic sizes for the different resources in a srcset or <picture>. Where do the intrinsicsizes go, and what should they be, on either of these images?