You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
device, i.e. the density of the pixels, taking into account the <adata-link-spec=cssom-viewdata-link-type=dfnhref=http://dev.w3.org/csswg/cssom-view-1/#page-zoomtitle="page zoom">page zoom</a> but assuming a <adata-link-spec=cssom-viewdata-link-type=dfnhref=http://dev.w3.org/csswg/cssom-view-1/#pinch-zoomtitle="pinch zoom">pinch zoom</a>
1427
1427
of 1.0.</p>
1428
1428
1429
-
<pclass=note><aclass="production css" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#resolution-valuetitle="<resolution>"><resolution></a> does not refer to the number of physical dots physical length units, but to the number of physical dots per CSS unit
1430
-
1431
1429
<p>When querying media with non-square pixels, <aclass=propertydata-link-type=propdeschref=#descdef-media-resolutiontitle=resolution>resolution</a> queries the density in the vertical dimension.</p>
1432
1430
1431
+
<divclass=note><aclass="production css" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#resolution-valuetitle="<resolution>"><resolution></a> does not refer to the number of device
1432
+
pixels per physical length unit, but the number of device pixels per css
1433
+
pixels. This mapping is done by the user agent, so it is always known to the
1434
+
user agent.
1435
+
1436
+
<p>If the user agent either has no knowledge of the geometry of physical pixels,
1437
+
or knows about the geometry physical pixels and they are (close enough to)
1438
+
square, it would not map a different number of device pixels per css pixels
1439
+
along each axis, and the would therefore be no difference between the vertical
1440
+
and horizontal resolution.</p>
1441
+
1442
+
<p>Otherwise, if the UA choses to map a different number along each axis,
1443
+
this would be to respond to physical pixels not being square either. How
1444
+
the UA comes to this knowledge is out of scope, but having enough information
1445
+
to take this decision, it can invert the mapping should the device be rotated 90 degrees.</div><p></p>
1446
+
1433
1447
<p>For printers, this corresponds to the screening resolution
1434
1448
(the resolution for printing dots of arbitrary color).
1435
1449
Printers might have a different resolution for grayscale printing.</p>
0 commit comments