W3C home > Mailing lists > Public > public-respimg@w3.org > April 2014

Re: Clarification on what to do when zooming or resizing

From: Simon Pieters <simonp@opera.com>
Date: Wed, 09 Apr 2014 23:46:03 +0200
To: "Tab Atkins Jr." <jackalmage@gmail.com>, "yoav@yoav.ws" <yoav@yoav.ws>, "Greg Whitworth" <gwhit@microsoft.com>
Cc: "public-respimg@w3.org" <public-respimg@w3.org>
Message-ID: <op.xd2j211hidj3kv@simons-mbp>
On Wed, 09 Apr 2014 23:00:11 +0200, Greg Whitworth <gwhit@microsoft.com>  

> Hey guys,
> I don't see anywhere that instructs what a UA should do in the event a  
> user zooms or resizes the browser (sorry if I missed it). Should the UA  
> kick of a new download for the image that matches the new dimensions, or  
> should we only do this at certain times?

"The user agent may at any time run the following algorithm to update an  
img element's image in order to react to changes in the environment. (User  
agents are not required to ever run this algorithm; for example, if the  
user is not looking at the page any more, the user agent might want to  
wait until the user has returned to the page before determining which  
image to use, in case the environment changes again in the meantime.)"


The picture spec then monkey-patches that algorithm here  

Simon Pieters
Opera Software
Received on Wednesday, 9 April 2014 21:45:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:12:41 UTC