This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26756 - devicePixelRatio should always use vertical pixel size
Summary: devicePixelRatio should always use vertical pixel size
Status: RESOLVED FIXED
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM View (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-08 14:28 UTC by Simon Pieters
Modified: 2014-09-15 07:32 UTC (History)
0 users

See Also:


Attachments

Description Simon Pieters 2014-09-08 14:28:01 UTC
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface

[[
Let device pixel size be the size of a device pixel of the output device, in one dimension (vertical or horizontal). If the device pixel is not square, then use the smaller of the vertical or horizontal size of the smallest bounding box of the device pixel.
]]

"RESOLVED: 'resolution' MQ uses the vertical resolution when pixels are not square" 

http://krijnhoetmer.nl/irc-logs/css/20140908#l-863
Comment 1 Simon Pieters 2014-09-15 07:32:56 UTC
https://dvcs.w3.org/hg/csswg/rev/7af8815c92ec