2 ms·
I think lots of informal URLs consist U+002C COMMA character (,) Why not <img srcset="url_1" srcset="url_2">? Is this against SGML syntax?
by est 15y ago
I think lots of informal URLs consist U+002C COMMA character (,)
Why not <img srcset="url_1" srcset="url_2">? Is this against SGML syntax?
- mooism2 15y agoThat is against sgml syntax, yes. There must be at least one height / width / pixel density descriptor for each url, so if you see a comma before the url ends, you know it must be part of the url.
- Herover 15y agoWhy not like the video-tag <img> <source src="house-hd.jpg" width="100px" height="200px" density="2x" /> ... </img> Or something like that.
- alexchamberlain 15y agoSee necolas comment above - ie the propose picture element.