W3C home > Mailing lists > Public > public-respimg@w3.org > October 2012

Re: How responsive is responsive?

From: Marcos Caceres <w3c@marcosc.com>
Date: Wed, 3 Oct 2012 17:46:34 +0100
To: Brett Jankord <bjankord@gmail.com>
Cc: public-respimg@w3.org
Message-ID: <7B6E26348F9946A4A68E0543AF6CCA9E@marcosc.com>

On Wednesday, October 3, 2012 at 5:37 PM, Brett Jankord wrote:

> Hi Macros,
> I believe the element would stay responsive "for life". In your example, "As I move my device from one orientation to another, does the picture's content change? " 
> The picture content would change, though there needs to be some logic probably provided by the browser vendors to load images from the cache if the image has already been loaded instead of sending another http request. 
> Using your example, "what should happen when the user swaps from landscape, to portrait, and back to landscape again?" 
> The browser would load the image initially requested in landscape orientation, upon orientation change to portrait the browser would request the new img src for that source tag, upon the user going back to landscape orientation, the browser would load the landscape image from the browser cache instead of sending another request to the server. This is my understanding from discussions in the community group. I believe a lot of it depends on if its possible for browser vendors to do something like this. 

The above is my understanding too. Browsers already support this with media queries. Also, this is currently how the picture polyfill works: 


(though I'm seeing an issue in Chrome where large.jpg keeps getting re-requested?) 

Just making sure we are all on the same page. 
Received on Wednesday, 3 October 2012 16:47:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:08 UTC