image-set-polyfill
image-set-polyfill copied to clipboard
Add type support
image-set specs also support a type, for specifying different image formats while allowing a fallback, e.g. avif.
This would be very useful as currently something like Modernizr feature detection with supporting classes has to be used.