Skip to content

Commit fab7eb3

Browse files
committed
[css-flexbox] Recalc free space on extra loops through the algo.
1 parent 042341d commit fab7eb3

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

css-flexbox/Overview.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2361,6 +2361,13 @@ <h3 class="heading settled heading" data-level=9.7 id=resolve-flexible-lengths><
23612361
set its <var>desired free space</var>
23622362
to its <var>originally desired free space</var>.
23632363

2364+
<li>
2365+
<strong>Recalculate free space.</strong>
2366+
Sum the outer <a data-link-type=dfn href=#flex-base-size title="flex base sizes">flex base sizes</a> of all items on the line,
2367+
and subtract this from the flex container’s inner main size.
2368+
This is the free space.
2369+
<span class=note>Note that this does not alter the desired free space of the items.</span>
2370+
23642371
<li>
23652372
<strong>Normalize desired free space if necessary.</strong>
23662373
If the free space is positive,

css-flexbox/Overview.src.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,6 +2348,13 @@ <h3 id='resolve-flexible-lengths'>
23482348
set its <var>desired free space</var>
23492349
to its <var>originally desired free space</var>.
23502350

2351+
<li>
2352+
<strong>Recalculate free space.</strong>
2353+
Sum the outer <i>flex base sizes</i> of all items on the line,
2354+
and subtract this from the flex container's inner main size.
2355+
This is the free space.
2356+
<span class='note'>Note that this does not alter the desired free space of the items.</span>
2357+
23512358
<li>
23522359
<strong>Normalize desired free space if necessary.</strong>
23532360
If the free space is positive,

0 commit comments

Comments
 (0)