Re: Behavior of device-pixel-ratio under zoom

On Thu, 17 Oct 2013 18:53:25 +0200, James Robinson <jamesr@google.com>  
wrote:

> Thanks Simon.  This looks great to me.  I think it'd be worth noting
> somewhere (not entirely sure where) that changes to the page zoom fire a
> resize event, since they change the size of the viewport in CSS pixels,  
> and
> so authors that want to react to page zoom can simply listen to the  
> window
> resize event and take a look at devicePixelRatio.  I don't see a  
> processing
> model for page zoom defined anywhere, although that'd be the ideal place  
> to
> put this.

See http://dev.w3.org/csswg/cssom-view/#resizing-viewports

-- 
Simon Pieters
Opera Software

Received on Thursday, 17 October 2013 21:24:25 UTC