You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css3-flexbox/Overview.src.html
+5-14Lines changed: 5 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -497,31 +497,22 @@ <h3 id='flex-pack'>
497
497
<td>visual
498
498
</table>
499
499
500
-
<p>Between and around the margins of <i>flexbox items</i> there are additional
501
-
flexible lengths, called <dfn>packing space</dfn>. Packing space can absorb
502
-
leftover free space in a flexbox if there aren't any other <i>flexible length</i>s,
503
-
or if all the <i>flexible length</i>s have reached their maximum size. The
504
-
'flex-pack' property defines the flexibility of these packing spaces:
500
+
<p>Between and around <i>flexbox items</i> there are additional flexible lengths called <dfnid="packing-space" title="packing space|packing spaces">packing spaces</dfn>. <i>Packing spaces</i> can absorb leftover free space in a flexbox line if there aren't any other <i>flexible lengths</i>, or if all the <i>flexible lengths</i> have reached their maximum size. The 'flex-pack' property defines the flexibility of <i>packing spaces</i>:</p>
505
501
506
502
<dl>
507
503
<dt><dfnid='flex-pack-start'>start</dfn></dt>
508
-
<dd><i>flexbox items</i> are packed toward the start of the flexbox. The last packing space(between the margin of the last flexbox itemand the edge of the flexbox) must absorb all leftover free space; all other packing spaces must have a length of ''0''.</dd>
504
+
<dd><i>Flexbox items</i> are packed toward the start of the flexbox line. The last <i>packing space</i> on the line (between the margin of the last <i>flexbox item</i> on the line and the edge of the flexbox) must absorb all leftover free space; all other packing spaces on the line must have a length of ''0''.</dd>
509
505
510
506
<dt><dfnid='flex-pack-end'>end</dfn></dt>
511
-
<dd><i>flexbox items</i> are packed toward the end of the flexbox. The first packing space(between the edge of the flexbox and the margin of the first flexbox item) must absorb all leftover free space; all other packing spaces must have a length of ''0''.</dd>
507
+
<dd><i>Flexbox items</i> are packed toward the end of the flexbox line. The first <i>packing space</i> on the line (between the edge of the flexbox and the margin of the first <i>flexbox item</i> on the line) must absorb all leftover free space; all other <i>packing spaces</i> on the line must have a length of ''0''.</dd>
512
508
513
509
<dt><dfnid='flex-pack-center'>center</dfn></dt>
514
-
<dd><i>flexbox items</i> are packed toward the center of the flexbox. The first and last packing spacesmust equally split all leftover free space; all other packing spaces must have a length of ''0''.</dd>
510
+
<dd><i>Flexbox items</i> are packed toward the center of the flexbox line. The first and last <i>packing spaces</i> on the line must equally split all leftover free space; all other <i>packing spaces</i> on the line must have a length of ''0''.</dd>
515
511
516
512
<dt><dfnid='flex-pack-justify'>justify</dfn></dt>
517
-
<dd><i>flexbox items</i> are evenly distributed through the flexbox. The first and last packing spacesmust have a length of ''0''; all other packing spacesmust equally split all leftover free space.</dd>
513
+
<dd><i>Flexbox items</i> are evenly distributed in the flexbox line. If there is more than one <i>flexbox item</i> on the line, the first and last <i>packing spaces</i> on the line must have a length of ''0'' and all other <i>packing spaces</i> on the line must equally split all leftover free space. Otherwise, ''justify'' must act identically to ''start''.</dd>
518
514
</dl>
519
515
520
-
<divclass=figure>
521
-
<pclass=caption><spanclass=issue>TODO: Provide a diagram showing packing
522
-
spaces.</span></p>
523
-
</div>
524
-
525
516
<divclass=example>
526
517
<pclass=issue>TODO: Examples showing the four values.</p>
0 commit comments