3 ms·
With respect, making life easier for browser makers is the worst possible reason to choose a feature which will be used by millions of documents (or not, in the
by grey-area 13y ago
With respect, making life easier for browser makers is the worst possible reason to choose a feature which will be used by millions of documents (or not, in the case of srcset) over another with a better syntax. I'm not even clear why onload on an img tag would not also invalidate your img example above, but that doesn't even matter. Hacks for performance may be fine in browser or server code in some circumstances, but are absolutely not fine in a public document format like HTML.
Is the picture element containing source elements (like video and audio) still under consideration, or is srcset supposed to replace it somehow?