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
these values trigger <adata-link-type="dfn" href="#baseline-content_alignment">baseline content-alignment</a>,
670
671
shifting the content of the box within the box,
671
672
and may also affect the sizing of the box itself.
672
-
See <ahref="#baseline-align-content">§4.1
673
-
Baseline Content-Alignment</a>.</p>
673
+
See <ahref="#baseline-align-content">§4.1 Baseline Content-Alignment</a>.</p>
674
674
675
675
676
676
<p>When specified for <aclass="property" data-link-type="propdesc" href="#propdef-align-self">align-self</a>/<aclass="property" data-link-type="propdesc" href="#propdef-justify-self">justify-self</a>,
677
677
these values trigger <adata-link-type="dfn" href="#baseline-self_alignment">baseline self-alignment</a>,
678
678
shifting the entire box within its container,
679
679
which may affect the sizing of its container.
680
-
See <ahref="#baseline-align-self">§5.3
681
-
Baseline Self-Alignment</a>.</p>
680
+
See <ahref="#baseline-align-self">§5.3 Baseline Self-Alignment</a>.</p>
682
681
683
682
684
683
<p>If both <adata-link-type="dfn" href="#baseline-content_alignment">baseline content-alignment</a><em>and</em><adata-link-type="dfn" href="#baseline-self_alignment">baseline self-alignment</a> are specified in the same axis on the same box,
@@ -874,8 +873,7 @@ <h2 class="heading settled" data-level="4" id="content-distribution"><span class
874
873
875
874
876
875
<p>Aligns the contents of the box as a whole along the box’s inline/row/main axis.
877
-
Values other than <dfnclass="css" data-dfn-for="justify-content, align-content" data-dfn-type="value" data-export="" id="valdef-justify-content-auto">auto<aclass="self-link" href="#valdef-justify-content-auto"></a></dfn> are defined in <ahref="#alignment-values">§3
878
-
Alignment Values</a>, above.
876
+
Values other than <dfnclass="css" data-dfn-for="justify-content, align-content" data-dfn-type="value" data-export="" id="valdef-justify-content-auto">auto<aclass="self-link" href="#valdef-justify-content-auto"></a></dfn> are defined in <ahref="#alignment-values">§3 Alignment Values</a>, above.
879
877
If both a <aclass="production css" data-link-type="type" href="#typedef-content-distribution" title="Expands to: space-around | stretch | space-between | space-evenly"><content-distribution></a> and <aclass="production css" data-link-type="type" href="#typedef-content-position" title="Expands to: right | center | flex-start | left | flex-end | end | start"><content-position></a> are given,
880
878
the <aclass="production css" data-link-type="type" href="#typedef-content-position" title="Expands to: right | center | flex-start | left | flex-end | end | start"><content-position></a> provides an explicit <adata-link-type="dfn" href="#fallback-alignment">fallback alignment</a>.</p>
881
879
@@ -1031,8 +1029,7 @@ <h3 class="heading settled" data-level="4.1" id="baseline-align-content"><span c
1031
1029
its <adata-link-type="dfn" href="#alignment-subject">alignment subject</a> is aligned to the start (end) edge of its <adata-link-type="dfn" href="#alignment-container">alignment container</a>
1032
1030
and the minimum necessary extra space is added between its start (end) edge and the <adata-link-type="dfn" href="#alignment-subject">alignment subject</a>
1033
1031
to match its <adata-link-type="dfn" href="#alignment-baseline">alignment baseline</a> in that axis up to that of its <adata-link-type="dfn" href="#baseline_sharing-group">baseline-sharing group</a>.
1034
-
See <ahref="#align-by-baseline">§7.3
1035
-
Aligning Boxes by Baseline</a>.
1032
+
See <ahref="#align-by-baseline">§7.3 Aligning Boxes by Baseline</a>.
<p>If either margin in this dimension is <spanclass="css">auto</span>,
1182
-
or either offset property in this dimension is <spanclass="css">auto</span>,
1178
+
or either offset property in this dimension is <aclass="css"data-link-type="maybe" href="http://dev.w3.org/csswg/css-position-3/#valdef-top-auto">auto</a>,
1183
1179
<aclass="property" data-link-type="propdesc" href="#propdef-justify-self">justify-self</a> has no effect.
<ahref="#alignment-values">as described by its alignment value</a>.</p>
1291
1287
1292
1288
1293
-
<p>The <aclass="css" data-link-type="maybe" href="#valdef-justify-self-auto">auto</a> and <aclass="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-flexbox-1/#valdef-align-items-stretch">stretch</a> keywords are as defined in <ahref="#justify-self-property">§5.1
1294
-
Inline/Main-Axis Alignment: the justify-self property</a>.</p>
1289
+
<p>The <aclass="css" data-link-type="maybe" href="#valdef-justify-self-auto">auto</a> and <aclass="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-flexbox-1/#valdef-align-items-stretch">stretch</a> keywords are as defined in <ahref="#justify-self-property">§5.1 Inline/Main-Axis Alignment: the justify-self property</a>.</p>
1295
1290
1296
1291
1297
-
<p>All other values are as defined in <ahref="#alignment-values">§3
1298
-
Alignment Values</a>, above.</p>
1292
+
<p>All other values are as defined in <ahref="#alignment-values">§3 Alignment Values</a>, above.</p>
<p>When neither margin in this dimension is <spanclass="css">auto</span>
1321
-
and neither offset property in this dimension is <spanclass="css">auto</span>,
1315
+
and neither offset property in this dimension is <aclass="css"data-link-type="maybe" href="http://dev.w3.org/csswg/css-position-3/#valdef-top-auto">auto</a>,
1322
1316
values other than <aclass="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-flexbox-1/#valdef-align-items-stretch">stretch</a> cause <ahref="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">non-replaced absolutely-positioned boxes</a>
1323
1317
to use shrink-to-fit sizing for calculating <spanclass="css">auto</span> measures,
1324
1318
and <aclass="property" data-link-type="propdesc" href="#propdef-align-self">align-self</a> dictates alignment as follows:</p>
A <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-grid-1/#grid-item">grid item</a> participates in first (last) <adata-link-type="dfn" href="#baseline-self_alignment">baseline self-alignment</a>
1419
1413
in either its row or column (whichever matches its <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-writing-modes-3/#inline-axis">inline axis</a>)
1420
-
if its <aclass="property" data-link-type="propdesc" href="#propdef-justify-self">justify-self</a> or <aclass="property" data-link-type="propdesc" href="#propdef-align-self">align-self</a> property (whichever matches its <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-writing-modes-3/#inline-axis">inline axis</a>)
1414
+
if its <aclass="property" data-link-type="propdesc" href="#propdef-justify-self">justify-self</a> or <aclass="property" data-link-type="propdesc" href="#propdef-align-self">align-self</a> property (whichever affects its <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-writing-modes-3/#block-axis">block axis</a>)
1421
1415
computes to <aclass="css" data-link-type="maybe" href="#valdef-justify-content-baseline">baseline</a> (<aclass="css" data-link-type="maybe" href="#valdef-justify-content-last-baseline">last-baseline</a>).
its <adata-link-type="dfn" href="#alignment-subject">alignment subject</a> is aligned to the start (end) edge of its <adata-link-type="dfn" href="#alignment-container">alignment container</a>
1433
1427
and the minimum necessary extra space is added between its start (end) edge and the <adata-link-type="dfn" href="#alignment-container">alignment container</a>
1434
1428
to match its <adata-link-type="dfn" href="#alignment-baseline">alignment baseline</a> in that axis up to that of its <adata-link-type="dfn" href="#baseline_sharing-group">baseline-sharing group</a>.
1435
-
See <ahref="#align-by-baseline">§7.3
1436
-
Aligning Boxes by Baseline</a>.
1429
+
See <ahref="#align-by-baseline">§7.3 Aligning Boxes by Baseline</a>.
1437
1430
This may increase the intrinsic size contribution of the <adata-link-type="dfn" href="#alignment-subject">alignment subject</a>.</p>
<dd>Elika Etemad; Koji Ishii. <ahref="http://www.w3.org/TR/css-text-3/">CSS Text Module Level 3</a>. 10 October 2013. LCWD. URL: <ahref="http://www.w3.org/TR/css-text-3/">http://www.w3.org/TR/css-text-3/</a>
0 commit comments