image-set-polyfill icon indicating copy to clipboard operation
image-set-polyfill copied to clipboard

Add type support

Open strarsis opened this issue 4 years ago • 0 comments

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.

strarsis avatar Oct 04 '21 01:10 strarsis