Skip to content

Commit 4eb6618

Browse files
committed
Editorial tweak.
1 parent 1bdc49d commit 4eb6618

2 files changed

Lines changed: 15 additions & 16 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2072,14 +2072,13 @@ <h2 id=layout-algorithm><span class=secno>9. </span> Flexbox Layout
20722072

20732073
<li> <strong>Determine the hypothetical main size of each item:</strong>
20742074
<ul>
2075-
<li> If the flexbox's main-axis is parallel to the item's inline-axis,
2076-
the hypothetical size is the item's preferred size, treating
2077-
&lsquo;<code class=css>auto</code>&rsquo; as &lsquo;<code
2078-
class=css>fit-content</code>&rsquo;.
2075+
<li> If the item has a <a href="#definite"><i>definite</i></a> preferred
2076+
size, that's the hypothetical size.
20792077

2080-
<li> Otherwise, if the item has a <a
2081-
href="#definite"><i>definite</i></a> preferred size, that's the
2082-
hypothetical size.
2078+
<li> Otherwise, if the flexbox's main-axis is parallel to the item's
2079+
inline-axis, the hypothetical size is the item's preferred size,
2080+
treating &lsquo;<code class=css>auto</code>&rsquo; as &lsquo;<code
2081+
class=css>fit-content</code>&rsquo;.
20832082

20842083
<li> Otherwise, the item is laid out and the hypothetical size is the
20852084
item's max-content extent.
@@ -2219,18 +2218,18 @@ <h3 id=resolve-flexible-lengths><span class=secno>9.1. </span> Resolving
22192218
<dd> If the free space is also zero, exit the algorithm. Otherwise, if
22202219
the free space is positive, freeze all items with max violations, and
22212220
if the free space is negative, freeze all items with min violations.
2222-
Reset all unfrozen items to their preferred size, and restart this
2223-
algorithm.
2221+
Reset all unfrozen items to their size upon entering this algorithm,
2222+
and restart this algorithm.
22242223

22252224
<dt>Positive
22262225

22272226
<dd> Freeze all the items with min violations, reset all other items to
2228-
their preferred size, and restart this algorithm.
2227+
their size upon entering this algorithm, and restart this algorithm.
22292228

22302229
<dt>Negative
22312230

22322231
<dd> Freeze all the items with max violations, reset all other items to
2233-
their preferred size, and restart this algorithm.
2232+
their size upon entering this algorithm, and restart this algorithm.
22342233
</dl>
22352234
</ol>
22362235

css3-flexbox/Overview.src.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,14 +1090,14 @@ <h2 id='layout-algorithm'>
10901090

10911091
<ul>
10921092
<li>
1093-
If the flexbox's main-axis is parallel to the item's inline-axis,
1094-
the hypothetical size is the item's preferred size,
1095-
treating ''auto'' as ''fit-content''.
1093+
If the item has a <i>definite</i> preferred size,
1094+
that's the hypothetical size.
10961095

10971096
<li>
10981097
Otherwise,
1099-
if the item has a <i>definite</i> preferred size,
1100-
that's the hypothetical size.
1098+
if the flexbox's main-axis is parallel to the item's inline-axis,
1099+
the hypothetical size is the item's preferred size,
1100+
treating ''auto'' as ''fit-content''.
11011101

11021102
<li>
11031103
Otherwise,

0 commit comments

Comments
 (0)