Skip to content

Commit 7d1efdc

Browse files
committed
[css-align] Clarifications to better handle 'normal' behaving as 'stretch'. Fixes #1431.
1 parent 8a45041 commit 7d1efdc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

css-align/Overview.bs

+8-4
Original file line numberDiff line numberDiff line change
@@ -1059,8 +1059,10 @@ Inline/Main-Axis Alignment: the 'justify-self' property</h3>
10591059
are ignored in favor of alignment as specified here,
10601060
and the used value of the inset properties are not adjusted to correct for the over-constraint.
10611061

1062-
Values other than ''justify-self/stretch'' cause <a href="https://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width">non-replaced absolutely-positioned boxes</a>
1063-
to use <a>fit-content sizing</a> for calculating ''width/auto'' inline sizes.
1062+
Values other than ''justify-self/stretch'' or ''justify-self/normal''
1063+
cause <a href="https://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width">non-replaced absolutely-positioned boxes</a>
1064+
to use <a>fit-content sizing</a> for calculating ''width/auto'' sizes
1065+
in the affected axis.
10641066

10651067
Note that ''justify-self/stretch'' <em>does</em> cause replaced absolutely-positioned boxes
10661068
to fill their containing block
@@ -1231,8 +1233,10 @@ Block/Cross-Axis Alignment: the 'align-self' property</h3>
12311233
are ignored in favor of alignment as specified here
12321234
and the used value of the inset properties are not adjusted to correct for the over-constraint.
12331235

1234-
Values other than ''align-self/stretch'' cause <a href="https://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">non-replaced absolutely-positioned boxes</a>
1235-
to use shrink-to-fit sizing for calculating ''height/auto'' block sizes.
1236+
Values other than ''justify-self/stretch'' or ''justify-self/normal''
1237+
cause <a href="https://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">non-replaced absolutely-positioned boxes</a>
1238+
to use <a>fit-content sizing</a> for calculating ''height/auto'' sizes
1239+
in the affected axis.
12361240

12371241
Note that ''justify-self/stretch'' does cause replaced absolutely-positioned boxes
12381242
to fill their containing block

0 commit comments

Comments
 (0)