Skip to content

Commit 0731a16

Browse files
committed
[css-values] Add back note that was dropped when <resolution> was copied over from css-images.
1 parent ccde9f0 commit 0731a16

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

css-values-3/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,11 @@ Resolution Units: the <<resolution>> type and ''&lt;resolution&gt;/dpi'', ''&lt;
13381338
All <<resolution>> units are <a>compatible</a>,
13391339
and ''&lt;resolution&gt;/dppx'' is their <a>canonical unit</a>.
13401340

1341+
<p class="note">Note that due to the 1:96 fixed ratio of CSS ''in'' to CSS ''px'',
1342+
''1dppx'' is equivalent to ''96dpi''.
1343+
This corresponds to the default resolution of images displayed in CSS:
1344+
see 'image-resolution'.
1345+
13411346
<div class="example">
13421347
The following @media rule uses Media Queries [[MEDIAQ]]
13431348
to assign some special style rules to devices that use two or more device pixels per CSS ''px'' unit:

css-values/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,11 @@ Resolution Units: the <<resolution>> type and ''&lt;resolution&gt;/dpi'', ''&lt;
14251425
All <<resolution>> units are <a>compatible</a>,
14261426
and ''&lt;resolution&gt;/x'' is their <a>canonical unit</a>.
14271427

1428+
<p class="note">Note that due to the 1:96 fixed ratio of CSS ''in'' to CSS ''px'',
1429+
''1dppx'' is equivalent to ''96dpi''.
1430+
This corresponds to the default resolution of images displayed in CSS:
1431+
see 'image-resolution'.
1432+
14281433
<div class="example">
14291434
The following @media rule uses Media Queries [[MEDIAQ]]
14301435
to assign some special style rules to devices that use two or more device pixels per CSS ''px'' unit:

0 commit comments

Comments
 (0)