First draft of HTML img srcset for responsive images
1–10 of 79 posts
Re: First draft of HTML img srcset for responsive images
#2Why not repurpose the media attribute from style tags to all other tags?
Re: First draft of HTML img srcset for responsive images
#3Why not ? Is this against SGML syntax?
Re: First draft of HTML img srcset for responsive images
#4I don't understand why that's maximum pixel density and not minimum pixel density.
If I'm using a super-retina device with 4x pixel density, surely it's better for me to get the 2x image than the default (presumably 1x) image?
Re: First draft of HTML img srcset for responsive images
#5I think lots of informal URLs consist U+002C COMMA character (,) Why not ? Is this against SGML syntax?
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.
Re: First draft of HTML img srcset for responsive images
#6> "2x" means "maximum pixel density of 2 device pixels per CSS pixel" I don't understand why that's maximum pixel density and not minimum pixel density. If I'm using a super-retina device with 4x pixel density, surely it's better for me to get the 2x image than the default (presumably 1x) image?
Re: First draft of HTML img srcset for responsive images
#7I like the concept, but the syntax feels awkward, clunky and very specific. Why not repurpose the media attribute from style tags to all other tags?
Re: First draft of HTML img srcset for responsive images
#8Re: First draft of HTML img srcset for responsive images
#9I like the concept, but the syntax feels awkward, clunky and very specific. Why not repurpose the media attribute from style tags to all other tags?
Because it is way more verbose and does not address the pixel density case.
Re: First draft of HTML img srcset for responsive images
#10I think lots of informal URLs consist U+002C COMMA character (,) Why not ? Is this against SGML syntax?
...
Or something like that.