@@ -1003,6 +1003,23 @@ <h3 id=abspos-items><span class=secno>4.1. </span> Absolutely-Positioned
10031003 computed from its < dfn id =flex-item-static-position > static position</ dfn > ,
10041004 as follows:
10051005
1006+ < p > If both ‘< code class =property > left</ code > ’ and ‘< code
1007+ class =property > right</ code > ’ are ‘< a href ="#align-self-auto "> < code
1008+ class =css > auto</ code > </ a > ’, the < a href ="#flex-item "> < i > flex
1009+ item</ i > </ a > must be positioned so that its < a
1010+ href ="#main-start "> < i > main-start</ i > </ a > or < a
1011+ href ="#cross-start "> < i > cross-start</ i > </ a > edge (whichever is in the
1012+ horizontal axis) is aligned with the < a
1013+ href ="#flex-item-static-position "> < i > static position</ i > </ a > . If both
1014+ ‘< code class =property > top</ code > ’ and ‘< code
1015+ class =property > bottom</ code > ’ are ‘< a href ="#align-self-auto "> < code
1016+ class =css > auto</ code > </ a > ’, the < a href ="#flex-item "> < i > flex
1017+ item</ i > </ a > must be positioned so that its < a
1018+ href ="#main-start "> < i > main-start</ i > </ a > or < a
1019+ href ="#cross-start "> < i > cross-start</ i > </ a > edge (whichever is in the
1020+ vertical axis) is aligned with the < a
1021+ href ="#flex-item-static-position "> < i > static position</ i > </ a > .
1022+
10061023 < p > In the < a href ="#main-axis "> < i > main axis</ i > </ a > ,
10071024
10081025 < ol >
@@ -1048,34 +1065,27 @@ <h3 id=abspos-items><span class=secno>4.1. </span> Absolutely-Positioned
10481065 </ ul >
10491066 </ ol >
10501067
1051- < p > In the < a href ="#cross-axis "> < i > cross axis</ i > </ a > , if there is a
1052- preceding in-flow < a href ="#flex-item "> < i > flex item</ i > </ a > , the < a
1053- href ="#flex-item-static-position "> < i > static position</ i > </ a > is the < a
1054- href ="#cross-start "> < i > cross-start</ i > </ a > edge of the < i > flex-line</ i >
1055- that item is in. Otherwise, the < a
1056- href ="#flex-item-static-position "> < i > static position</ i > </ a > is the
1057- < i > cross-start edge</ i > of the first < i > flex line</ i > .
1068+ < p > In the < a href ="#cross-axis "> < i > cross axis</ i > </ a > ,
10581069
1059- < p > If both ‘< code class =property > left</ code > ’ and ‘< code
1060- class =property > right</ code > ’ are ‘< a href ="#align-self-auto "> < code
1061- class =css > auto</ code > </ a > ’, the < a href ="#flex-item "> < i > flex
1062- item</ i > </ a > must be positioned so that its < a
1063- href ="#main-start "> < i > main-start</ i > </ a > or < a
1064- href ="#cross-start "> < i > cross-start</ i > </ a > edge (whichever is in the
1065- horizontal axis) is aligned with the < a
1066- href ="#flex-item-static-position "> < i > static position</ i > </ a > . If both
1067- ‘< code class =property > top</ code > ’ and ‘< code
1068- class =property > bottom</ code > ’ are ‘< a href ="#align-self-auto "> < code
1069- class =css > auto</ code > </ a > ’, the < a href ="#flex-item "> < i > flex
1070- item</ i > </ a > must be positioned so that its < a
1071- href ="#main-start "> < i > main-start</ i > </ a > or < a
1072- href ="#cross-start "> < i > cross-start</ i > </ a > edge (whichever is in the
1073- vertical axis) is aligned with the < a
1074- href ="#flex-item-static-position "> < i > static position</ i > </ a > .
1070+ < ol >
1071+ < li > If there is a preceding in-flow < a href ="#flex-item "> < i > flex
1072+ item</ i > </ a > , the < a href ="#flex-item-static-position "> < i > static
1073+ position</ i > </ a > is the < a href ="#cross-start "> < i > cross-start</ i > </ a >
1074+ edge of the < i > flex-line</ i > that item is in.
1075+
1076+ < li > Otherwise, the < a href ="#flex-item-static-position "> < i > static
1077+ position</ i > </ a > is the < i > cross-start edge</ i > of the first < i > flex
1078+ line</ i > .
1079+ </ ol >
10751080
1076- < p class =note > These rules are intended to more-or-less match what the
1077- position would be if the abspos was a 0x0 in-flow flex item that
1078- participated in flex layout.
1081+ < p class =note > The static position is intended to more-or-less match the
1082+ position of an anonymous 0×0 in-flow flex item that participates in flex
1083+ layout, the only difference being that any packing spaces due to ‘< code
1084+ class =css > justify-content: space-around</ code > ’ or ‘< code
1085+ class =css > justify-content: space-between</ code > ’ are suppressed around
1086+ the hypothetical item: between it and the next item if there is a real
1087+ item after it, else between it and the previous item (if any) if there
1088+ isn't.
10791089
10801090 < h3 id =item-margins > < span class =secno > 4.2. </ span > Flex Item Margins</ h3 >
10811091
0 commit comments