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
Abstract: This module contains the features of <a href="http://www.w3.org/TR/CSS/">CSS</a> relating to the alignment of boxes within their containers in the various CSS box layout models: block layout, table layout, flex layout, and grid layout. (The alignment of text and inline-level content is defined in [[CSS3TEXT]] and [[CSS3LINE]].)
Value: auto | <<baseline-position>> | [ <<item-position>> && <<overflow-position>>? ]
617
617
Initial: auto
618
618
Applies to: block-level boxes, absolutely-positioned boxes, and grid items
619
619
Inherited: no
@@ -628,7 +628,7 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
628
628
<a href="#alignment-values">as described by its alignment value</a>.
629
629
630
630
The <dfn value for="justify-self">auto</dfn> keyword computes to
631
-
''stretch'' on absolutely-positioned elements,
631
+
''<item-position>/stretch'' on absolutely-positioned elements,
632
632
and to the computed value of 'justify-items' on the parent
633
633
(minus any ''legacy'' keywords) on all other boxes.
634
634
@@ -652,7 +652,7 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
652
652
are ignored in favor of alignment as specified here
653
653
and the used value of the offset properties are not adjusted to correct for the over-constraint.
654
654
655
-
The ''stretch'' value is equivalent to ''start'' on block-level boxes.
655
+
The ''<item-position>/stretch'' value is equivalent to ''start'' on block-level boxes.
656
656
657
657
This property does not apply to floats.
658
658
@@ -663,7 +663,7 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
663
663
664
664
When neither margin in this dimension is ''margin/auto''
665
665
and neither offset property in this dimension is ''top/auto'',
666
-
values other than ''stretch'' cause <a href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width">non-replaced absolutely-positioned boxes</a>
666
+
values other than ''<item-position>/stretch'' cause <a href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width">non-replaced absolutely-positioned boxes</a>
667
667
to use shrink-to-fit sizing for calculating ''width/auto'' measures,
668
668
and 'justify-self' dictates alignment as follows:
669
669
@@ -677,7 +677,7 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
677
677
are ignored in favor of alignment as specified here
678
678
and the used value of the offset properties are not adjusted to correct for the over-constraint.
679
679
680
-
The ''stretch'' keyword is equivalent to ''start'' on replaced absolutely-positioned boxes.
680
+
The ''<item-position>/stretch'' keyword is equivalent to ''start'' on replaced absolutely-positioned boxes.
681
681
(This is because CSS 2.1 does not stretch replaced elements to fit into fixed offsets.)
682
682
683
683
<dt>Table Cells:
@@ -701,7 +701,7 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
701
701
</dl>
702
702
703
703
<p class='issue'>
704
-
Should we make ''stretch'' actually work on block-level/abspos replaced boxes?
704
+
Should we make ''<item-position>/stretch'' actually work on block-level/abspos replaced boxes?
705
705
To maintain legacy compat, this requires adding a new value (named ''normal''?)
706
706
which has the current behavior of stretching non-replaced boxes and start-aligning replaced ones.
707
707
@@ -719,7 +719,7 @@ Block/Cross-Axis Alignment: the 'align-self' property</h3>
Value: auto | <<baseline-position>> | [ <<item-position>> && <<overflow-position>>? ]
723
723
Initial: auto
724
724
Applies to: block-level boxes
725
725
Inherited: no
@@ -734,7 +734,7 @@ Block/Cross-Axis Alignment: the 'align-self' property</h3>
734
734
<a href="#alignment-values">as described by its alignment value</a>.
735
735
736
736
The <dfn value for="align-self">auto</dfn> keyword computes to
737
-
''stretch'' on absolutely-positioned elements,
737
+
''<item-position>/stretch'' on absolutely-positioned elements,
738
738
and to the computed value of 'align-items' on the parent
739
739
(minus any ''legacy'' keywords) on all other boxes.
740
740
@@ -753,7 +753,7 @@ Block/Cross-Axis Alignment: the 'align-self' property</h3>
753
753
754
754
When neither margin in this dimension is ''margin/auto''
755
755
and neither offset property in this dimension is ''top/auto'',
756
-
values other than ''stretch'' cause <a href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">non-replaced absolutely-positioned boxes</a>
756
+
values other than ''<item-position>/stretch'' cause <a href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">non-replaced absolutely-positioned boxes</a>
757
757
to use shrink-to-fit sizing for calculating ''width/auto'' measures,
758
758
and 'align-self' dictates alignment as follows:
759
759
@@ -767,7 +767,7 @@ Block/Cross-Axis Alignment: the 'align-self' property</h3>
767
767
are ignored in favor of alignment as specified here
768
768
and the used value of the offset properties are not adjusted to correct for the over-constraint.
769
769
770
-
The ''stretch'' keyword is equivalent to ''start'' on replaced absolutely-positioned boxes.
770
+
The ''<item-position>/stretch'' keyword is equivalent to ''start'' on replaced absolutely-positioned boxes.
771
771
(This is because CSS 2.1 does not stretch replaced elements to fit into fixed offsets.)
772
772
773
773
<dt>Table Cells:
@@ -844,7 +844,7 @@ Inline/Main-Axis Alignment: the 'justify-items' property</h3>
0 commit comments