W3C home > Mailing lists > Public > public-html-admin@w3.org > February 2013

RE: CfC: to publish "The srcset attribute" specification as a First Public Working Draft (FPWD)

From: Fred Andrews <fredandw@live.com>
Date: Tue, 5 Feb 2013 04:11:51 +0000
Message-ID: <BLU002-W183DCC725B262F358B0802BAA000@phx.gbl>
To: Mat Marquis <mat@matmarquis.com>
CC: "Paul.Cotton@microsoft.com" <paul.cotton@microsoft.com>, "public-html-admin@w3.org" <public-html-admin@w3.org>, "public-respimg@w3.org" <public-respimg@w3.org>


> From: mat@matmarquis.com
> Date: Mon, 4 Feb 2013 22:00:00 -0500
> The relationship between the sizes is communicated by the same criteria used to determine which should be served. Itís not necessary for the UA to know the exact dimensions of the imageóif the author has flagged an image source as only being appropriate for high-resolution screens, it is the larger image. Given `sd.jpg 1x, hd.jpg 2x,` itís clear to the UA which of these will be the larger image. If the concern is that the author will specify these incorrectly, there isnít much we can do syntactically to avoid that.
Lets boil it down to a simple example that you can not refute.

Let there be two images:  image_200x100.jpg and image_400x200.jpg with resolutions 200x100 and 400x200 pixels respectively.

Let the author hint to the UA to use image_200x100.jpg on low density 1x devices and  image_400x200.jpg on high density 2x devices.

Let the author hint that the UA should upscale the images to fit a larger image box.

<img style="width: 800px; height: 400px: "srcset="image_200x100.jpg 1x,  image_400x200.jpg 2x">

Let the UA make a choice and let the choice be to select the smallest image that yields sharp image presentation - a reasonable use case.

The UA does not know the image sizes, it does not know that image_200x100.jpg is 200x100 pixels, or that image_400x200.jpg is 400x200 pixels so it can not solve this technical problem.  The UA does not know if the author hinted to upscale or downscale the images.

If you can refute this then please prove it or otherwise please withdraw your proposals.

cheer
Fred

 		 	   		  
Received on Tuesday, 5 February 2013 04:12:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 February 2013 04:12:20 GMT