Open
Description
While talking to @colinbendell, he mentioned a use case he has: loading certain images only on some viewport sizes, but loading nothing on others.
My response was that this should be possible by eliminating the srcset
attribute from that <source>
, but it doesn't seem like we specced it that way. Unless there's some other way to answer thzt use case, we probably should.
Can we modify https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element:attr-picture-source-srcset-3 so that a lack of srcset
would result in a returned empty source set?
I hesitate regarding 5 there. What should we do if there are no candidates?