Skip to content

Commit 6f59774

Browse files
committed
[css-sizing-3] Use <<length>> rather than definite to avoid complexity around percentages etc. w3c#4217
1 parent 47dd089 commit 6f59774

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

css-sizing-3/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,9 +835,10 @@ Intrinsic Sizes</h3>
835835
use the <a>stretch fit</a> into that size for the inline size
836836
and calculate the block size using the aspect ratio.
837837
* Otherwise
838-
if the box has a [=definite=] non-''min-width/auto'' value for 'min-width' or 'min-height',
838+
if the box has a <<length>> as its [=computed value=]
839+
for 'min-width' or 'min-height',
839840
use that size and calculate the other dimension using the aspect ratio;
840-
if both dimensions have a definite minimum,
841+
if both dimensions have a <<length>> minimum,
841842
choose the one that results in the larger overall size.
842843

843844
Note: This case was previous calculated from a 300x150 default size,
@@ -856,7 +857,8 @@ Intrinsic Sizes</h3>
856857
in the appropriate dimension,
857858
use the <a>stretch fit</a> into that size in that dimension.
858859
* Otherwise,
859-
if the box has a <a>definite</a> non-''min-width/auto'' minimum size ('min-width'/'min-height') in that dimension,
860+
if the box has a <<length>> as its [=computed|computed value=]
861+
[=minimum size=] ('min-width'/'min-height') in that dimension,
860862
use that size.
861863
* Otherwise,
862864
use ''300px'' for the width

0 commit comments

Comments
 (0)