Skip to content

Commit b0defca

Browse files
committed
[css-values-4] Define that negative ranges are always invalid. #8532
1 parent 5c2f26b commit b0defca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css-values-4/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2725,6 +2725,10 @@ Resolution Units: the <<resolution>> type and ''&lt;resolution&gt;/dpi'', ''&lt;
27252725
All <<resolution>> units are <a>compatible</a>,
27262726
and ''&lt;resolution>/dppx'' is their <a>canonical unit</a>.
27272727

2728+
The allowed range of <<resolution>> values
2729+
<em>always</em> excludes negative values,
2730+
in addition to any explicit ranges that might be specified.
2731+
27282732
<p class="note">Note that due to the 1:96 fixed ratio of CSS ''in'' to CSS ''px'',
27292733
''1dppx'' is equivalent to ''96dpi''.
27302734
This corresponds to the default resolution of images displayed in CSS:

0 commit comments

Comments
 (0)