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
@@ -586,12 +586,12 @@ Overflow and Scroll Positions</h3>
586
586
587
587
<!--
588
588
██████ ████████ ██ ████████
589
-
██ ██ ██ ██ ██ ██ ██
590
-
██ ██ ██ ██ ██ ██
591
-
█████████ ███████ ██████ ██████ ██ ██████
592
-
██ ██ ██ ██ ██ ██
593
-
██ ██ ██ ██ ██ ██ ██
594
-
██████ ████████ ████████ ██
589
+
██ ██ ██ ██ ██ ██ ██
590
+
██ ██ ██ ██ ██ ██
591
+
█████████ ███████ ██████ ██████ ██ ██████
592
+
██ ██ ██ ██ ██ ██
593
+
██ ██ ██ ██ ██ ██ ██
594
+
██████ ████████ ████████ ██
595
595
-->
596
596
597
597
<h2 id='self-alignment'>
@@ -666,11 +666,17 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
666
666
<dd>
667
667
The 'justify-self' property applies along its containing block's <a>inline axis</a>.
668
668
669
-
When neither margin in this dimension is ''margin/auto''
670
-
and neither offset property in this dimension is ''top/auto'',
671
-
values other than ''justify-self/stretch'' cause <a href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width">non-replaced absolutely-positioned boxes</a>
672
-
to use shrink-to-fit sizing for calculating ''width/auto'' measures,
673
-
and 'justify-self' dictates alignment as follows:
669
+
If either margin in this dimension is ''margin/auto'',
670
+
or either offset property in this dimension is ''top/auto'',
671
+
'justify-self' has no effect.
672
+
Otherwise, its effects are defined below.
673
+
674
+
The ''justify-self/auto'' keyword behaves as ''start'' on replaced absolutely-positioned boxes,
675
+
and behaves as ''justify-self/stretch'' on all other absolutely-positioned boxes.
676
+
(This is because CSS 2.1 does not stretch replaced elements to fit into fixed offsets.)
677
+
678
+
Values other than ''justify-self/stretch'' cause <a href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width">non-replaced absolutely-positioned boxes</a>
679
+
to use shrink-to-fit sizing for calculating ''width/auto'' measures.
674
680
675
681
The <a>alignment container</a> is the box's containing block
676
682
as modified by the offset properties ('top'/'right'/'bottom'/'left').
@@ -682,9 +688,6 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
682
688
are ignored in favor of alignment as specified here
683
689
and the used value of the offset properties are not adjusted to correct for the over-constraint.
684
690
685
-
The ''justify-self/auto'' keyword is equivalent to ''start'' on replaced absolutely-positioned boxes,
686
-
and equivalent to ''justify-self/stretch'' on all other absolutely-positioned boxes.
687
-
(This is because CSS 2.1 does not stretch replaced elements to fit into fixed offsets.)
0 commit comments