@@ -1364,7 +1364,7 @@ Inline-Axis (or Main-Axis) Self-Alignment: the 'justify-self' property</h3>
13641364
13651365 <pre class="propdef">
13661366 Name : justify-self
1367- Value : auto | normal | stretch | <<baseline-position>> | << overflow-position>>? [ <<self-position>> | left | right ]
1367+ Value : auto | << overflow-position>>? [ normal | <<self-position>> | left | right ] <br>| stretch | <<baseline-position>>
13681368 Initial : auto
13691369 Applies to : block-level boxes, absolutely-positioned boxes, and grid items
13701370 Inherited : no
@@ -1396,6 +1396,16 @@ Inline-Axis (or Main-Axis) Self-Alignment: the 'justify-self' property</h3>
13961396 Represents the “default” alignment for the layout mode.
13971397 Its behavior depends on the layout mode, as described below.
13981398
1399+ : <<self-position>> | left | right
1400+ ::
1401+ Shifts the position of the box as specified,
1402+ see [[#alignment-values]] .
1403+
1404+ : <<overflow-position>>
1405+ ::
1406+ Controls how the box aligns when it overflows,
1407+ see [[#overflow-values]] .
1408+
13991409 : <dfn>stretch</dfn>
14001410 ::
14011411 When the box’s [=computed value|computed=] 'width' /'height'
@@ -1421,10 +1431,6 @@ Inline-Axis (or Main-Axis) Self-Alignment: the 'justify-self' property</h3>
14211431 as defined in [[#baseline-values]] ,
14221432 [[#baseline-align-self]] ,
14231433 and [[#baseline-rules]] .
1424-
1425- : <<overflow-position>> ? <<self-position>>
1426- ::
1427- Defined in [[#alignment-values]] , above.
14281434 </dl>
14291435
14301436 Values other than ''justify-self/stretch'' cause a 'width' /'height' of ''width/auto''
@@ -1584,7 +1590,7 @@ Block-Axis (or Cross-Axis) Self-Alignment: the 'align-self' property</h3>
15841590
15851591 <pre class="propdef">
15861592 Name : align-self
1587- Value : auto | normal | stretch | <<baseline -position>> | <<overflow -position>>? <<self -position>>
1593+ Value : auto | <<overflow -position>>? [ normal | <<self -position>> ]<br>| stretch | <<baseline -position>>
15881594 Initial : auto
15891595 Applies to : flex items, grid items, and absolutely-positioned boxes
15901596 Inherited : no
@@ -1616,6 +1622,16 @@ Block-Axis (or Cross-Axis) Self-Alignment: the 'align-self' property</h3>
16161622 Represents the “default” alignment for the layout mode,
16171623 as defined below.
16181624
1625+ : <<self-position>>
1626+ ::
1627+ Shifts the position of the box as specified,
1628+ see [[#alignment-values]] .
1629+
1630+ : <<overflow-position>>
1631+ ::
1632+ Controls how the box aligns when it overflows,
1633+ see [[#overflow-values]] .
1634+
16191635 : <dfn>stretch</dfn>
16201636 ::
16211637 As defined for 'justify-self' in [[#justify-self-property]] .
@@ -1626,10 +1642,6 @@ Block-Axis (or Cross-Axis) Self-Alignment: the 'align-self' property</h3>
16261642 as defined in [[#baseline-values]] ,
16271643 [[#baseline-align-self]] ,
16281644 and [[#baseline-rules]] .
1629-
1630- : <<overflow-position>> ? <<self-position>>
1631- ::
1632- Defined in [[#alignment-values]] , above.
16331645 </dl>
16341646
16351647 Note: ''margin/auto'' margins,
@@ -2525,6 +2537,8 @@ Changes</h2>
25252537 * Allow absolutely positioned boxes to honor alignment even when overflowing into
25262538 the scrollable overflow area of a scroll container containing block.
25272539 (<a href="https://github.com/w3c/csswg-drafts/issues/12106">Issue 12106</a> )
2540+ * Allow safe/unsafe to be specified with ''justify-self/normal'' .
2541+ (<a href="https://github.com/w3c/csswg-drafts/issues/12920">Issue 12920</a> )
25282542
25292543 See also <a href="https://www.w3.org/TR/2025/WD-css-align-3-20250311/#changes">previous changes</a> .
25302544
0 commit comments