Skip to content

Commit f7d5b04

Browse files
committed
Add note to 'flex-align:center' similar to 'flex-pack:center'. Fix typo.
1 parent 24eacf4 commit f7d5b04

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ <h3 id=flex-align><span class=secno>5.2. </span> Cross Axis Alignment: the
13881388
<p><a href="#flexbox-item"><i>Flexbox items</i></a> can be aligned in the
13891389
<a href="#cross-axis"><i>cross axis</i></a> of the current line of the
13901390
flexbox, similar to &lsquo;<a href="#flex-pack0"><code
1391-
class=property>flex-pack</code></a>&rsquo; but in the perpendendicular
1391+
class=property>flex-pack</code></a>&rsquo; but in the perpendicular
13921392
direction. &lsquo;<a href="#flex-align0"><code
13931393
class=property>flex-align</code></a>&rsquo; sets the default alignment for
13941394
all of the flexbox's <a href="#flexbox-item"><i
@@ -1429,7 +1429,9 @@ <h3 id=flex-align><span class=secno>5.2. </span> Cross Axis Alignment: the
14291429

14301430
<dd>The <a href="#flexbox-item"><i>flexbox item's</i></a> margin box is
14311431
centered in the <a href="#cross-axis"><i>cross axis</i></a> within the
1432-
line.
1432+
line. (If the <a href="#cross-size"><i>cross size</i></a> of the flexbox
1433+
is less than than that of the <a href="#flexbox-item"><i>flexbox
1434+
item</i></a>, it will overflow equally in both directions.)
14331435

14341436
<dt><dfn id=flex-align-baseline>baseline</dfn>
14351437

css3-flexbox/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ <h3 id='flex-align'>
659659
<td>no
660660
</table>
661661

662-
<p><i>Flexbox items</i> can be aligned in the <i>cross axis</i> of the current line of the flexbox, similar to 'flex-pack' but in the perpendendicular direction. 'flex-align' sets the default alignment for all of the flexbox's <i title="flexbox items">items</i>, including anonymous <i>flexbox items</i>. 'flex-item-align' allows this default alignment to be overridden for individual <i>flexbox items</i> (for anonymous flexbox items, 'flex-item-align' always matches the value of 'flex-align' on their associated flexbox).</p>
662+
<p><i>Flexbox items</i> can be aligned in the <i>cross axis</i> of the current line of the flexbox, similar to 'flex-pack' but in the perpendicular direction. 'flex-align' sets the default alignment for all of the flexbox's <i title="flexbox items">items</i>, including anonymous <i>flexbox items</i>. 'flex-item-align' allows this default alignment to be overridden for individual <i>flexbox items</i> (for anonymous flexbox items, 'flex-item-align' always matches the value of 'flex-align' on their associated flexbox).</p>
663663

664664
<p>A value of <dfn id="flex-item-align-auto">''auto''</dfn> for 'flex-item-align' computes to the value of 'flex-align' on the <i>flexbox item's</i> flexbox. The alignments are defined as:</p>
665665

@@ -671,7 +671,7 @@ <h3 id='flex-align'>
671671
<dd>The <i>cross-end</i> margin edge of the <i>flexbox item</i> is placed flush with the <i>cross-end</i> edge of the line.</dd>
672672

673673
<dt><dfn id="flex-align-center">center</dfn></dt>
674-
<dd>The <i>flexbox item's</i> margin box is centered in the <i>cross axis</i> within the line.</dd>
674+
<dd>The <i>flexbox item's</i> margin box is centered in the <i>cross axis</i> within the line. (If the <i>cross size</i> of the flexbox is less than than that of the <i>flexbox item</i>, it will overflow equally in both directions.)</dd>
675675

676676
<dt><dfn id="flex-align-baseline">baseline</dfn></dt>
677677
<dd>

0 commit comments

Comments
 (0)