Skip to content

Commit

Permalink
[css-values-4] Define that negative ranges are always invalid. #8532
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Apr 6, 2023
1 parent 5c2f26b commit b0defca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions css-values-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2725,6 +2725,10 @@ Resolution Units: the <<resolution>> type and ''&lt;resolution&gt;/dpi'', ''&lt;
All <<resolution>> units are <a>compatible</a>,
and ''&lt;resolution>/dppx'' is their <a>canonical unit</a>.

The allowed range of <<resolution>> values
<em>always</em> excludes negative values,
in addition to any explicit ranges that might be specified.

<p class="note">Note that due to the 1:96 fixed ratio of CSS ''in'' to CSS ''px'',
''1dppx'' is equivalent to ''96dpi''.
This corresponds to the default resolution of images displayed in CSS:
Expand Down

0 comments on commit b0defca

Please sign in to comment.