Skip to content

Commit 4636fcc

Browse files
committed
[css-flexbox] Change example to use justify-content.
1 parent 5cf05e3 commit 4636fcc

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

css-flexbox/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
</p>
245245
<h1 class="p-name no-ref" id=title>CSS Flexible Box Layout Module Level 1</h1>
246246
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
247-
<span class=dt-updated><span class=value-title title=20140113>13 January 2014</span></span></span></h2>
247+
<span class=dt-updated><span class=value-title title=20140114>14 January 2014</span></span></span></h2>
248248
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-flexbox/>http://dev.w3.org/csswg/css-flexbox/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css3-flexbox/>http://www.w3.org/TR/css3-flexbox/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-flexbox/>http://dev.w3.org/csswg/css-flexbox/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2012/CR-css3-flexbox-20120918/ rel=previous>http://www.w3.org/TR/2012/CR-css3-flexbox-20120918/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-flexbox-20120612/ rel=previous>http://www.w3.org/TR/2012/WD-css3-flexbox-20120612/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-flexbox-20120322/ rel=previous>http://www.w3.org/TR/2012/WD-css3-flexbox-20120322/</a><dd><a href=http://www.w3.org/TR/2011/WD-css3-flexbox-20111129/ rel=previous>http://www.w3.org/TR/2011/WD-css3-flexbox-20111129/</a><dd><a href=http://www.w3.org/TR/2011/WD-css3-flexbox-20110322/ rel=previous>http://www.w3.org/TR/2011/WD-css3-flexbox-20110322/</a><dd><a href=http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/ rel=previous>http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/</a>
249249
<dt>Feedback:</dt>
250250
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-flexbox%5D%20feedback">www-style@w3.org</a>
@@ -757,8 +757,8 @@ <h3 class="heading settled heading" data-level=4.1 id=abspos-items><span class=s
757757

758758
<div class=example>
759759
For example, by default, the static position of an absolutely positioned element aligns it to the main-start/cross-start corner,
760-
corresponding to the default values of <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-align-3/#justify-self title=justify-self>justify-self</a> and <a class=property data-link-type=propdesc href=#propdef-align-self title=align-self>align-self</a>.
761-
Setting <a class=css data-link-type=propdesc href=http://dev.w3.org/csswg/css-align-3/#justify-self title=justify-self>justify-self:center</a>, however,
760+
corresponding to the default values of <a class=property data-link-type=propdesc href=#propdef-justify-content title=justify-content>justify-content</a> and <a class=property data-link-type=propdesc href=#propdef-align-content title=align-content>align-content</a> on the <a data-link-type=dfn href=#flex-container title="flex container">flex container</a>.
761+
Setting <a class=css data-link-type=propdesc href=#propdef-justify-content title=justify-content>justify-content:center</a> on the <a data-link-type=dfn href=#flex-container title="flex container">flex container</a>, however,
762762
would center it in the main axis.
763763
</div>
764764

css-flexbox/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@ <h3 id='abspos-items'>
626626

627627
<div class='example'>
628628
For example, by default, the static position of an absolutely positioned element aligns it to the main-start/cross-start corner,
629-
corresponding to the default values of 'justify-self' and 'align-self'.
630-
Setting ''justify-self:center'', however,
629+
corresponding to the default values of 'justify-content' and 'align-content' on the <a>flex container</a>.
630+
Setting ''justify-content:center'' on the <a>flex container</a>, however,
631631
would center it in the main axis.
632632
</div>
633633

0 commit comments

Comments
 (0)