Skip to content

Commit a7e2e6d

Browse files
committed
flex-align:stretch can only stretch, not shrink 'auto' size
1 parent 05fc4f7 commit a7e2e6d

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

css3-flexbox/Overview.src.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,12 +1053,12 @@ <h2 id='layout-algorithm'>
10531053
<p>Determine the final cross size of each flexbox item.
10541054
<ol>
10551055
<li>If a flexbox item has ''flex-item-align:stretch&#39;&#39; and its
1056-
preferred cross size is &#39;auto and its margin-box cross size is
1056+
preferred cross size is &#39;auto&#39; and its margin-box cross size is
10571057
smaller than cross-size of its flexbox line, its final cross size is
10581058
set so that its margin-box cross size is equal to cross-size of its flexbox line.
10591059
<li>For all other flexbox items, its final cross size is its hypothetical cross size.
10601060
</li>
1061-
<li>If the resulting cross size of any item conflits with &#39;min-width&#39;, &#39;max-width&#39;, &#39;min-height&#39; or
1061+
<li>If the resulting cross size of any item conflicts with &#39;min-width&#39;, &#39;max-width&#39;, &#39;min-height&#39; or
10621062
&#39;max-height&#39;, correct the result to comply with the restrictions.</li>
10631063
</ol>
10641064
</li>
@@ -1169,7 +1169,6 @@ <h2 id="pagination">
11691169

11701170
<ol>
11711171
<li>In a row-direction single-line flexbox, breaks before and after items apply to the flexbox</li>
1172-
<p class="issue">"break-inside:avoid" in single-line horizontal should probably be applied to flexbox too.</p>
11731172

11741173
<li>In column-direction single-line flexbox and all multi-line flexboxes:
11751174

@@ -1238,7 +1237,6 @@ <h2 id="pagination">
12381237

12391238
<p class="note">After the break, continuation of overflow items may overlap with other items and/or content after the flexbox. It is undesirable but there is no good resolution for this spacial conflict and this outcome is similar to effect of "overflow:visible" elsewhere.</p>
12401239
</li>
1241-
</ol>
12421240
</li>
12431241
</ol>
12441242
</li>
@@ -1276,7 +1274,7 @@ <h2 id="pagination">
12761274
</li>
12771275

12781276
<li>
1279-
<b>Row-direction flexbox:multi-line</b>
1277+
<b>Row-direction flexbox: multi-line</b>
12801278

12811279
<ol>
12821280
<li>Collect items into lines and determine line heights:
@@ -1307,7 +1305,6 @@ <h2 id="pagination">
13071305
that have fit on the current page.</li>
13081306

13091307
<li>Line packing is done on each page, with content on the page</li>
1310-
<p class="issue">TODO: combine breaking algorithms for multiline in both directions. If breaks inside items are not allowed the algorithm is almost same.</p>
13111308
</ol>
13121309
</li>
13131310
</ol>

0 commit comments

Comments
 (0)