Skip to content

Commit 91d57b6

Browse files
committed
Typos, and more tweaks.
1 parent aced43e commit 91d57b6

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,14 +1851,14 @@ <h2 id=layout-algorithm><span class=secno>7. </span> Flexbox Layout
18511851

18521852
<dt>&lsquo;<code class=css>max-content</code>&rsquo;
18531853

1854-
<dd>The maximum line length is infinity, constrained by the main and
1854+
<dd>The maximum line length is infinity, constrained by the min and
18551855
max main size constraints of the flexbox.
18561856

18571857
<dt>&lsquo;<code class=css>fit-content</code>&rsquo;
18581858

1859-
<dd>The maximum line length is the greater of the flexbox's main size
1860-
constraint and the smaller of the flexbox's maximum size constraint
1861-
and the available space.
1859+
<dd>The maximum line length is the greater of the flexbox's min size
1860+
constraint and the smaller of the flexbox's max size constraint and
1861+
the available space.
18621862
</dl>
18631863

18641864
<li>Collect as many consecutive flexbox items as possible, starting from
@@ -1880,7 +1880,8 @@ <h2 id=layout-algorithm><span class=secno>7. </span> Flexbox Layout
18801880
<li>Find the actual main size of the flexbox. If the flexbox's main size
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
1883-
line.
1883+
line, calculated by summing the main sizes of the margin boxes of each
1884+
flexbox item in the line.
18841885

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

css3-flexbox/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,10 +909,10 @@ <h2 id='layout-algorithm'>
909909
<dd>The maximum line length is the flexbox's minimum main size.</dd>
910910

911911
<dt>''max-content''</dt>
912-
<dd>The maximum line length is infinity, constrained by the main and max main size constraints of the flexbox.</dd>
912+
<dd>The maximum line length is infinity, constrained by the min and max main size constraints of the flexbox.</dd>
913913

914914
<dt>''fit-content''</dt>
915-
<dd>The maximum line length is the greater of the flexbox's main size constraint and the smaller of the flexbox's maximum size constraint and the available space.</dd>
915+
<dd>The maximum line length is the greater of the flexbox's min size constraint and the smaller of the flexbox's max size constraint and the available space.</dd>
916916
</dt>
917917
</li>
918918

@@ -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.</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.</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)