Skip to content

Commit cb4667c

Browse files
committed
Add note clarifying that zero-size items get pulled onto the end of lines, rather than wrapping onto new lines.
1 parent 5ba991b commit cb4667c

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2360,6 +2360,10 @@ <h3 id=main-sizing><span class=secno>9.3. </span> Main Size Determination</h3>
23602360
the size of a flexbox item is its hypothetical outer main size, clamped
23612361
according to its min and max main size properties. Repeat until all
23622362
flexbox items have been collected into flexbox lines.
2363+
<p class=note> Note that items with zero main size will never start a
2364+
line unless they're the very first items in the flexbox. The "collect
2365+
as many" line will collect them onto the end of the previous line even
2366+
if the last non-zero item exactly "filled up" the line.
23632367
</ul>
23642368

23652369
<li>

css3-flexbox/Overview.src.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,13 @@ <h3 id='main-sizing'>
16191619
the size of a flexbox item is its hypothetical outer main size,
16201620
clamped according to its min and max main size properties.
16211621
Repeat until all flexbox items have been collected into flexbox lines.
1622+
1623+
<p class='note'>
1624+
Note that items with zero main size will never start a line
1625+
unless they're the very first items in the flexbox.
1626+
The "collect as many" line will collect them
1627+
onto the end of the previous line
1628+
even if the last non-zero item exactly "filled up" the line.
16221629
</ul>
16231630

16241631
<li>

0 commit comments

Comments
 (0)