Skip to content

Commit 2f3535a

Browse files
committed
Fix typos found by dholbert
1 parent f7b4225 commit 2f3535a

2 files changed

Lines changed: 32 additions & 41 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,9 @@ <h3 id=display-flexbox><span class=secno>2.1. </span> New values for
377377
&lsquo;<code class=css>inline-flexbox</code>&rsquo; value makes the
378378
flexbox act like an inline-block in other layout modes.
379379

380-
<p>Setting &lsquo;<code class=css>display:flexbox</code>&rsquo; on an
381-
element forces it to use a new layout algorithm, and so some properties
382-
that were designed with the assumption of block layout don't make sense in
383-
a flexbox context. In particular:
380+
<p>Flexboxes use a new layout algorithm, and so some properties that were
381+
designed with the assumption of block layout don't make sense in a flexbox
382+
context. In particular:
384383

385384
<ul>
386385
<li>all of the &lsquo;<code class=css>column-*</code>&rsquo; properties in
@@ -397,10 +396,10 @@ <h3 id=display-flexbox><span class=secno>2.1. </span> New values for
397396
on a flexbox item
398397
</ul>
399398

400-
<p>A flexbox item creates a new flexbox formatting context for its
401-
contents. This is similar to a block formatting context: floats must not
402-
intrude into the flexbox, and the flexbox's margins do not collapse with
403-
any other margin. Additionally, all of the <a
399+
<p>A flexbox creates a new flexbox formatting context for its contents.
400+
This is similar to a block formatting context: floats must not intrude
401+
into the flexbox, and the flexbox's margins do not collapse with the
402+
margins of its contents. Additionally, all of the <a
404403
href="#flexbox-item"><i>flexbox items</i></a> establish new block
405404
formatting contexts for their contents.
406405

@@ -1058,12 +1057,12 @@ <h3 id=flex-pack><span class=secno>5.1. </span> Main Axis Alignment: the
10581057
class=property>flex-pack</code></a>&rsquo; property aligns <a
10591058
href="#flexbox-item"><i>flexbox items</i></a> in the <a
10601059
href="#main-axis"><i>main axis</i></a> of the current line of the flexbox.
1061-
This is done <a href="#flex-align-after"><em>after</em></a> any flexible
1062-
lengths have been resolved. Typically it helps distribute extra free space
1063-
leftover when either all the <a href="#flexbox-item"><i>flexbox
1064-
items</i></a> on a line are inflexible, or are flexible but have reach
1065-
their maximum size, but it also exerts some control over the alignment of
1066-
items when they overflow the line.
1060+
This is done <em title="">after</em> any flexible lengths have been
1061+
resolved. Typically it helps distribute extra free space leftover when
1062+
either all the <a href="#flexbox-item"><i>flexbox items</i></a> on a line
1063+
are inflexible, or are flexible but have reach their maximum size, but it
1064+
also exerts some control over the alignment of items when they overflow
1065+
the line.
10671066

10681067
<dl>
10691068
<dt><dfn id=flex-pack-start>start</dfn>
@@ -1174,19 +1173,19 @@ <h3 id=flex-align><span class=secno>5.2. </span> Cross Axis Alignment: the
11741173
applies to the flexbox itself.
11751174

11761175
<dl>
1177-
<dt><dfn id=flex-align-before>before</dfn>
1176+
<dt><dfn id=flex-align-start>start</dfn>
11781177

11791178
<dd>The <a href="#cross-start"><i>cross-start</i></a> margin edge of the
11801179
<a href="#flexbox-item"><i>flexbox item</i></a> is placed flush with the
11811180
<a href="#cross-start"><i>cross-start</i></a> edge of the line.
11821181

1183-
<dt><dfn id=flex-align-after>after</dfn>
1182+
<dt><dfn id=flex-align-end>end</dfn>
11841183

11851184
<dd>The <a href="#cross-end"><i>cross-end</i></a> margin edge of the <a
11861185
href="#flexbox-item"><i>flexbox item</i></a> is placed flush with the <a
11871186
href="#cross-end"><i>cross-end</i></a> edge of the line.
11881187

1189-
<dt><dfn id=flex-align-middle>middle</dfn>
1188+
<dt><dfn id=flex-align-center>center</dfn>
11901189

11911190
<dd>The <a href="#flexbox-item"><i>flexbox item's</i></a> margin box is
11921191
centered in the <a href="#cross-axis"><i>cross axis</i></a> within the
@@ -1671,10 +1670,9 @@ <h3 id=changes-from-ed-16-june-2011><span class=secno>10.1. </span>Changes
16711670
class=property>box-align</code>&rsquo; of the old spec applied to
16721671
flexbox.
16731672

1674-
<li>Added definition for where is &lsquo;<a
1675-
href="#flex-align-before"><code class=property>before</code></a>&rsquo;
1676-
and where is &lsquo;<a href="#flex-align-after"><code
1677-
class=property>after</code></a>&rsquo;
1673+
<li>Added definition for where is &lsquo;<code
1674+
class=property>before</code>&rsquo; and where is &lsquo;<code
1675+
class=property>after</code>&rsquo;
16781676

16791677
<li>Open issue 14 for before/after to validate the definition.
16801678

@@ -1845,16 +1843,11 @@ <h2 class=no-num id=index>Index</h2>
18451843
<!--begin-index-->
18461844

18471845
<ul class=indexlist>
1848-
<li>after, <a href="#flex-align-after"
1849-
title=after><strong>5.2.</strong></a>
1850-
18511846
<li>baseline, <a href="#flex-align-baseline"
18521847
title=baseline><strong>5.2.</strong></a>
18531848

1854-
<li>before, <a href="#flex-align-before"
1855-
title=before><strong>5.2.</strong></a>
1856-
1857-
<li>center, <a href="#flex-line-pack-center"
1849+
<li>center, <a href="#flex-align-center"
1850+
title=center><strong>5.2.</strong></a>, <a href="#flex-line-pack-center"
18581851
title=center><strong>6.1.</strong></a>, <a href="#flex-pack-center"
18591852
title=center><strong>5.1.</strong></a>
18601853

@@ -1883,9 +1876,9 @@ <h2 class=no-num id=index>Index</h2>
18831876
title=distribute><strong>6.1.</strong></a>, <a
18841877
href="#flex-pack-distribute" title=distribute><strong>5.1.</strong></a>
18851878

1886-
<li>end, <a href="#flex-line-pack-end"
1887-
title=end><strong>6.1.</strong></a>, <a href="#flex-pack-end"
1888-
title=end><strong>5.1.</strong></a>
1879+
<li>end, <a href="#flex-align-end" title=end><strong>5.2.</strong></a>, <a
1880+
href="#flex-line-pack-end" title=end><strong>6.1.</strong></a>, <a
1881+
href="#flex-pack-end" title=end><strong>5.1.</strong></a>
18891882

18901883
<li>flex-align, <a href="#flex-align0"
18911884
title=flex-align><strong>5.2.</strong></a>
@@ -1952,9 +1945,6 @@ <h2 class=no-num id=index>Index</h2>
19521945
<li>main-start, <a href="#main-start"
19531946
title=main-start><strong>2.</strong></a>
19541947

1955-
<li>middle, <a href="#flex-align-middle"
1956-
title=middle><strong>5.2.</strong></a>
1957-
19581948
<li>multi-line, <a href="#multi-line"
19591949
title=multi-line><strong>6.</strong></a>
19601950

@@ -1975,7 +1965,8 @@ <h2 class=no-num id=index>Index</h2>
19751965
<li>single-line, <a href="#single-line"
19761966
title=single-line><strong>6.</strong></a>
19771967

1978-
<li>start, <a href="#flex-line-pack-start"
1968+
<li>start, <a href="#flex-align-start"
1969+
title=start><strong>5.2.</strong></a>, <a href="#flex-line-pack-start"
19791970
title=start><strong>6.1.</strong></a>, <a href="#flex-pack-start"
19801971
title=start><strong>5.1.</strong></a>
19811972

css3-flexbox/Overview.src.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3 id='display-flexbox'>
111111

112112
<p>The ''flexbox'' value makes the flexbox act like a block in other layout modes. The ''inline-flexbox'' value makes the flexbox act like an inline-block in other layout modes.</p>
113113

114-
<p>Setting ''display:flexbox'' on an element forces it to use a new layout algorithm, and so some properties that were designed with the assumption of block layout don't make sense in a flexbox context. In particular:</p>
114+
<p>Flexboxes use a new layout algorithm, and so some properties that were designed with the assumption of block layout don't make sense in a flexbox context. In particular:</p>
115115

116116
<ul>
117117
<li>all of the 'column-*' properties in the Multicol module compute to their initial values on a flexbox ('break-before', 'break-inside', and 'break-after' are still valid on a flexbox).</li>
@@ -121,7 +121,7 @@ <h3 id='display-flexbox'>
121121
<li>'vertical-align' has no effect on a flexbox item</li>
122122
</ul>
123123

124-
<p>A flexbox item creates a new flexbox formatting context for its contents. This is similar to a block formatting context: floats must not intrude into the flexbox, and the flexbox's margins do not collapse with any other margin. Additionally, all of the <i>flexbox items</i> establish new block formatting contexts for their contents.</p>
124+
<p>A flexbox creates a new flexbox formatting context for its contents. This is similar to a block formatting context: floats must not intrude into the flexbox, and the flexbox's margins do not collapse with the margins of its contents. Additionally, all of the <i>flexbox items</i> establish new block formatting contexts for their contents.</p>
125125

126126
<p class='issue'>Figure out the right terms to use here.</p>
127127

@@ -490,7 +490,7 @@ <h3 id='flex-pack'>
490490
<td>visual
491491
</table>
492492

493-
<p>The 'flex-pack' property aligns <i>flexbox items</i> in the <i>main axis</i> of the current line of the flexbox. This is done <em>after</em> any flexible lengths have been resolved. Typically it helps distribute extra free space leftover when either all the <i>flexbox items</i> on a line are inflexible, or are flexible but have reach their maximum size, but it also exerts some control over the alignment of items when they overflow the line.</p>
493+
<p>The 'flex-pack' property aligns <i>flexbox items</i> in the <i>main axis</i> of the current line of the flexbox. This is done <em title=''>after</em> any flexible lengths have been resolved. Typically it helps distribute extra free space leftover when either all the <i>flexbox items</i> on a line are inflexible, or are flexible but have reach their maximum size, but it also exerts some control over the alignment of items when they overflow the line.</p>
494494

495495
<dl>
496496
<dt><dfn id='flex-pack-start'>start</dfn></dt>
@@ -541,13 +541,13 @@ <h3 id='flex-align'>
541541
<p>The 'flex-align' property aligns <i>flexbox items</i> in the <i>cross axis</i> of the current line of the flexbox, similar to 'flex-pack' but in the perpendicular axis. Note that 'flex-align' applies to individual <i>flexbox items</i>, while 'flex-pack' applies to the flexbox itself.</p>
542542

543543
<dl>
544-
<dt><dfn id="flex-align-before">before</dfn></dt>
544+
<dt><dfn id="flex-align-start">start</dfn></dt>
545545
<dd>The <i>cross-start</i> margin edge of the <i>flexbox item</i> is placed flush with the <i>cross-start</i> edge of the line.</dd>
546546

547-
<dt><dfn id="flex-align-after">after</dfn></dt>
547+
<dt><dfn id="flex-align-end">end</dfn></dt>
548548
<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>
549549

550-
<dt><dfn id="flex-align-middle">middle</dfn></dt>
550+
<dt><dfn id="flex-align-center">center</dfn></dt>
551551
<dd>The <i>flexbox item's</i> margin box is centered in the <i>cross axis</i> within the line.</dd>
552552

553553
<dt><dfn id="flex-align-baseline">baseline</dfn></dt>

0 commit comments

Comments
 (0)