Skip to content

Commit cf709be

Browse files
committed
[css-flexbox-1] Specify that min-width/height: auto computes to itself on flex items always. #2230 Pending WG approval.
1 parent 1f4fb77 commit cf709be

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

css-flexbox-1/Overview.bs

+15-2
Original file line numberDiff line numberDiff line change
@@ -904,9 +904,9 @@ Automatic Minimum Size of Flex Items</h3>
904904
this specification defines that the ''min-width/auto'' keyword
905905
of the 'min-width' and 'min-height' properties
906906
(which represents their initial value)
907-
applies an <a>automatic minimum size</a>
907+
computes to itself on <a>flex items</a> and
908+
applies a non-zero <a>automatic minimum size</a>
908909
to <a>flex items</a> whose 'overflow' is ''overflow/visible'' in the <a>main axis</a>.
909-
(It otherwise computes to zero, see [[!CSS3-SIZING]].)
910910

911911
In general, the <a>automatic minimum size</a> of a <a>flex item</a>
912912
is the smaller of its <a>content size</a> and its <a>specified size</a>.
@@ -3461,6 +3461,13 @@ Changes since the 16 October 2017 CR</h3>
34613461
they must be resolved against the inline dimension, as for blocks.
34623462
(<a href="https://github.com/w3c/csswg-drafts/issues/2085">Issue 2085</a>)
34633463

3464+
<li id="change-2017-min-size-auto-computed">
3465+
Clearly defined when ''min-width/auto'' computes to itself on flex items:
3466+
in both axes, always.
3467+
(<a href="https://github.com/w3c/csswg-drafts/issues/2230">Issue 2230</a>)
3468+
<blockquote>
3469+
</blockquote>
3470+
34643471
<li id="change-2017-content-desc">
34653472
Added some (effectively informative) prose and a cross-reference
34663473
to more clearly define ''flex-basis: content''.
@@ -3475,6 +3482,12 @@ Changes since the 16 October 2017 CR</h3>
34753482
see <a href="#algo-main-item">details</a> in [[#layout-algorithm]].)</ins>
34763483
</p>
34773484
</blockquote>
3485+
3486+
<li id="change-2017-min-size-auto">
3487+
Moved the definition of the ''min-width/auto'' keyword for 'min-width' and 'min-height'
3488+
to [[!CSS3-SIZING]].
3489+
(The definition of what an <a>automatic minimum size</a> for flex items is remains here.)
3490+
(<a href="https://github.com/w3c/csswg-drafts/issues/2103">Issue 2103</a>)
34783491
</ul>
34793492

34803493
<h3 id="changes-20160526">

0 commit comments

Comments
 (0)