Re: [csswg-drafts] [mediaqueries] Consider making device-pixel-ratio a standard alias.

> It's bizarre to have different behaviors for page zoom and pinch 
zoom

The spec rationale is that page zoom is something that changes the 
geometry of the viewport. Its width and height (in CSS pixels) change.
 Since the hardware is the same, but the CSS pixel geometry is not, 
the device-pixel-ratio / resolution should change accordingly, 
otherwise it becomes non nonsensical.

As listed above, all other implementations seem to agree on that.

> pages should not change their layout or appearance when zoomed

When pinch zooming, I agree 100%. When page-zooming, pages will 
inevitably change their layout, since page zoom (by definition) 
changes the size in CSS pixels of the viewport. Page-zoom pretty much 
boils down to changing the device-pixel to CSS-pixel ratio, and 
redoing layout based on that. I would find it pretty strange if that 
was not reflected in the relevant MQ and OM.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/417#issuecomment-244255557 
using your GitHub account

Received on Friday, 2 September 2016 00:56:33 UTC