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
<p>Justifies the box within its parent along the inline/row/main axis:
608
608
the box’s outer edges are aligned within its <adata-link-type="dfn" href="#alignment-container">alignment container</a><ahref="#alignment-values">as described by its alignment value</a>.</p>
<td>specified value, except for <aclass="css" data-link-type="maybe" href="#valdef-justify-self-auto">auto</a> (see prose)
701
+
<td>specified value, except for <aclass="css" data-link-type="maybe" href="#valdef-align-self-auto">auto</a> (see prose)
702
702
<tr>
703
703
<th>Animatable:
704
704
<td>no
705
705
</table>
706
706
<p>Aligns the box within its parent along the block/column/cross axis:
707
707
the box’s outer edges are aligned within its <adata-link-type="dfn" href="#alignment-container">alignment container</a><ahref="#alignment-values">as described by its alignment value</a>.</p>
708
-
<p>The <aclass="css" data-link-type="maybe" href="#valdef-justify-self-auto">auto</a> and <aclass="css" data-link-type="maybe" href="https://drafts.csswg.org/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>
708
+
<p>The <dfnclass="css" data-dfn-for="align-self" data-dfn-type="value" data-export="" id="valdef-align-self-auto">auto<aclass="self-link" href="#valdef-align-self-auto"></a></dfn> keyword computes to
709
+
itself on absolutely-positioned elements,
710
+
and to the computed value of <aclass="property" data-link-type="propdesc" href="#propdef-align-items">align-items</a> on the parent
711
+
(minus any <aclass="css" data-link-type="maybe" href="#valdef-justify-items-legacy">legacy</a> keywords) on all other boxes,
712
+
or <spanclass="css">start</span> if the box has no parent.
713
+
Its behavior depends on the layout model, as described for <aclass="property" data-link-type="propdesc" href="#propdef-justify-self">justify-self</a>.</p>
714
+
<p>The <aclass="css" data-link-type="maybe" href="https://drafts.csswg.org/css-flexbox-1/#valdef-align-items-stretch">stretch</a> keyword is as defined in <ahref="#justify-self-property">§5.1 Inline/Main-Axis Alignment: the justify-self property</a>.</p>
709
715
<p>All other values are as defined in <ahref="#alignment-values">§3 Alignment Values</a>, above.</p>
In terms of CSS2.1 formatting <adata-link-type="biblio" href="#biblio-css21">[CSS21]</a>,
732
738
the rules for "over-constrained" computations in <ahref="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">section 10.6.4</a> are ignored in favor of alignment as specified here
733
739
and the used value of the offset properties are not adjusted to correct for the over-constraint.</p>
734
-
<p>The <aclass="css" data-link-type="maybe" href="#valdef-justify-self-auto">auto</a> keyword is equivalent to <aclass="css" data-link-type="maybe" href="#valdef-self-position-start">start</a> on replaced absolutely-positioned boxes,
740
+
<p>The <aclass="css" data-link-type="maybe" href="#valdef-align-self-auto">auto</a> keyword is equivalent to <aclass="css" data-link-type="maybe" href="#valdef-self-position-start">start</a> on replaced absolutely-positioned boxes,
735
741
and equivalent to <aclass="css" data-link-type="maybe" href="https://drafts.csswg.org/css-flexbox-1/#valdef-align-items-stretch">stretch</a> on all other absolutely-positioned boxes.
736
742
(This is because CSS 2.1 does not stretch replaced elements to fit into fixed offsets.)</p>
0 commit comments