Skip to content

Commit ce03a20

Browse files
committed
[css-sizing-4] Was supposed to be non-auto values only. w3c#1722
1 parent c7bef3b commit ce03a20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-sizing-3/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ Intrinsic Sizes</h3>
837837
use the <a>stretch fit</a> into that size for the inline size
838838
and calculate the block size using the aspect ratio.
839839
* Otherwise
840-
if the box has a [=definite=] value for 'min-width' or 'min-height',
840+
if the box has a [=definite=] non-''min-width/auto'' value for 'min-width' or 'min-height',
841841
use that size and calculate the other dimension using the aspect ratio;
842842
if both dimensions have a definite minimum,
843843
choose the one that results in the larger overall size.
@@ -851,13 +851,14 @@ Intrinsic Sizes</h3>
851851
use an [=inline size=] matching
852852
the corresponding dimension of the [=initial containing block=]
853853
and calculate the other dimension using the aspect ratio.
854+
854855
<dt>For boxes without an intrinsic aspect ratio:
855856
<dd>
856857
* If the <a>available space</a> is <a>definite</a>
857858
in the appropriate dimension,
858859
use the <a>stretch fit</a> into that size in that dimension.
859860
* Otherwise,
860-
if the box has a <a>definite</a> non-zero minimum size ('min-width'/'min-height') in that dimension,
861+
if the box has a <a>definite</a> non-''min-width/auto'' minimum size ('min-width'/'min-height') in that dimension,
861862
use that size.
862863
* Otherwise,
863864
use ''300px'' for the width

0 commit comments

Comments
 (0)