Skip to content

Commit 54c4c0c

Browse files
committed
[css-flexbox] Simplify how we talk about automatic minimum size.
1 parent 6615e3f commit 54c4c0c

File tree

1 file changed

+12
-30
lines changed

1 file changed

+12
-30
lines changed

css-flexbox/Overview.bs

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -886,36 +886,18 @@ Implied Minimum Size of Flex Items</h3>
886886
<dd>
887887
On a <a>flex item</a> whose 'overflow' is ''overflow/visible'' in the <a>main axis</a>,
888888
when specified on the <a>flex item's</a> main-axis min-size property,
889-
the following table gives the minimum size:
890-
891-
<table class=data>
892-
<colgroup span=2></colgroup>
893-
<colgroup span=1></colgroup>
894-
<thead>
895-
<tr>
896-
<th>Specified Size
897-
<th>Transferred Size
898-
<th>Minimum Size
899-
<tbody>
900-
<tr>
901-
<td>
902-
<td>
903-
<td><var>content size</var>
904-
<tr>
905-
<td>
906-
<td>
907-
<td>min(<var>specified size</var>, <var>content size</var>)
908-
<tr>
909-
<td>
910-
<td>
911-
<td>min(<var>transferred size</var>, <var>content size</var>)
912-
<tr>
913-
<td>
914-
<td>
915-
<td>min(<var>specified size</var>, <var>content size</var>)
916-
</table>
917-
918-
Where:
889+
specifies an <dfn>automatic minimum size</dfn>.
890+
891+
In general, the <a>automatic minimum size</a>
892+
is the smaller of its <a>content size</a> and its <a>specified size</a>.
893+
However, if the box has an aspect ratio and no <a>specified size</a>,
894+
its <a>automatic minimum size</a>
895+
is the smaller of its <a>content size</a> and its <a>transferred size</a>.
896+
897+
The <a>content size</a>, <a>specified size</a>, and <a>transferred size</a>
898+
used in this calculation account for the relevant min/max/preferred size properties
899+
so that the <a>automatic minimum size</a> does not interfere with any author-provided constraints,
900+
and are defined below:
919901

920902
<dl>
921903
<dt><var>specified size</var>

0 commit comments

Comments
 (0)