Skip to content

Commit 31149a6

Browse files
committed
Generated the visible spec.
1 parent 48f8a31 commit 31149a6

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

css3-flexbox/Overview.html

+22-6
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121

2222
<h1 id=head-box-flexible>Flexible Box Layout Module</h1>
2323

24-
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft, 22 March 2011</h2>
24+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft, 8 April 2011</h2>
2525

2626
<dl>
2727
<dt>This version:
2828

29-
<dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-flexbox-20110322/">http://www.w3.org/TR/2011/WD-css3-flexbox-20110322/</a></dd> -->
29+
<dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-flexbox-20110408/">http://www.w3.org/TR/2011/WD-css3-flexbox-20110408/</a></dd> -->
3030
<a
3131
href="http://dev.w3.org/csswg/css3-flexbox/">http://dev.w3.org/csswg/css3-flexbox/</a>
3232

@@ -919,10 +919,18 @@ <h2 id=free-space-algorithm><span class=secno>8. </span> Free Space
919919
size, a maximum size, a preferred size, a positive flexibility, and a
920920
negative flexibility.
921921

922+
<dt><dfn id=total-free-space>total free space</dfn>
923+
924+
<dd>The inner width or height of the flexbox (depending on the
925+
distribution round), which will be used to calculate the sizes of the <a
926+
href="#flexbox-item"><i>flexbox item</i></a>s.
927+
922928
<dt><dfn id=available-free-space>available free space</dfn>
923929

924-
<dd>The inner width/height of the flexbox minus the sum of the preflex
925-
sizes of all the relevant lengths.
930+
<dd>The <a href="#total-free-space"><i>total free space</i></a> minus the
931+
sum of the preferred sizes of all the relevant lengths, which is used to
932+
resolve <a href="#flex-tuple"><i>flex tuple</i></a>s into inflexible
933+
lengths.
926934
</dl>
927935

928936
<h3 id=initial-computation><span class=secno>8.1. </span> Initial
@@ -1174,8 +1182,13 @@ <h3 id=free-space-allocation-algorithm><span class=secno>8.6. </span> Free
11741182
<p>This section describes the algorithm used to allocate free space to a
11751183
set of flexible lengths. The inputs to this algorithm are a set of <a
11761184
href="#flex-tuple"><i>flex tuple</i></a>s and a length representing the <a
1177-
href="#available-free-space"><i>available free space</i></a>, which may be
1178-
positive or negative. The output is a set of inflexible lengths.
1185+
href="#total-free-space"><i>total free space</i></a>. The output is a set
1186+
of inflexible lengths.
1187+
1188+
<p>Calculate the <a href="#available-free-space"><i>available free
1189+
space</i></a> by summing the preferred size of all the <a
1190+
href="#flex-tuple"><i>flex tuple</i></a>s and subtracting that value from
1191+
the <a href="#total-free-space"><i>total free space</i></a>.
11791192

11801193
<p>If the <a href="#available-free-space"><i>available free space</i></a>
11811194
is 0, transform all the <a href="#flex-tuple"><i>flex tuple</i></a>s into
@@ -1422,6 +1435,9 @@ <h2 class=no-num id=index>Index</h2>
14221435

14231436
<li>start, <a href="#flex-pack-start" title=start><strong>6.</strong></a>
14241437

1438+
<li>total free space, <a href="#total-free-space" title="total free
1439+
space"><strong>8.</strong></a>
1440+
14251441
<li>vertical flexbox, <a href="#vertical-flexbox" title="vertical
14261442
flexbox"><strong>3.</strong></a>
14271443
</ul>

0 commit comments

Comments
 (0)