Skip to content

Commit 728271b

Browse files
committed
Add more reference to min/max sizes.
1 parent 91d57b6 commit 728271b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,8 @@ <h2 id=layout-algorithm><span class=secno>7. </span> Flexbox Layout
18811881
doesn't rely on its contents, it's actual main size is calculated per the
18821882
appropriate rules. Otherwise, its main size is the length of its longest
18831883
line, calculated by summing the main sizes of the margin boxes of each
1884-
flexbox item in the line.
1884+
flexbox item in the line, constrained by the flexbox's min and max main
1885+
size constraints.
18851886

18861887
<li>For each flexbox line, <a
18871888
href="#resolve-the-flexible-lengths"><i>resolve the flexible

css3-flexbox/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ <h2 id='layout-algorithm'>
924924
<p class='issue'>Define "size doesn't rely on its contents". This should be any &lt;length>, a &lt;percentage> that can be resolved, or ''fill-available''.</p>
925925
</li>
926926

927-
<li>Find the actual main size of the flexbox. If the flexbox's main size doesn't rely on its contents, it's actual main size is calculated per the appropriate rules. Otherwise, its main size is the length of its longest line, calculated by summing the main sizes of the margin boxes of each flexbox item in the line.</li>
927+
<li>Find the actual main size of the flexbox. If the flexbox's main size doesn't rely on its contents, it's actual main size is calculated per the appropriate rules. Otherwise, its main size is the length of its longest line, calculated by summing the main sizes of the margin boxes of each flexbox item in the line, constrained by the flexbox's min and max main size constraints.</li>
928928

929929
<li>For each flexbox line, <i>resolve the flexible lengths</i> of the items contained within it. All flexbox items now have a final main size. Update each item's hypothetical cross size based on this main size.</li>
930930

0 commit comments

Comments
 (0)