Re: [whatwg] The src-N proposal

On Tue, Nov 19, 2013 at 2:22 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> Using a url/size pair in src=''
> would be invalid if sizes='' wasn't specified.

On second thought, this isn't necessary.  You can always set <img
width>, or just let it take the default intrinsic width of 300px.
<picture sizes> would just override the intrinsic width of the <img>.

After all, even if your image isn't variable-sized, using the url/size
syntax might still be easier than url/density, because you don't have
to do any math, or change the densities around when you change the
image size.

~TJ

Received on Wednesday, 20 November 2013 01:47:58 UTC