@@ -1140,6 +1140,50 @@ <h3 id=non-children-grid-items><span class=secno>4.1. </span>Non-children
11401140 < h3 id =absolutely-positioned-grid-children > < span class =secno > 4.2.
11411141 </ span > Absolutely Positioned Grid Children</ h3 >
11421142
1143+ < p > An absolutely-positioned child element of a < a
1144+ href ="#grid-container "> < i > grid container</ i > </ a > does not participate
1145+ directly in grid layout. Its static position is ???
1146+
1147+ < div class =issue >
1148+ < ul >
1149+ < li > The before/start corner of the grid container? (In this case, should
1150+ we adjust Flexbox to match?)
1151+
1152+ < li > The before/start edge of the cell it would be placed in, if it were a
1153+ 1x1 auto-placed grid item? (Don't let it generate new rows/columns,
1154+ though, which complicates things.) (This is closer to Flexbox's current
1155+ behavior.)
1156+ </ ul >
1157+ </ div >
1158+
1159+ < p class =issue > Below is a proposal for how to deal with abspos in grid
1160+ containers. It gives us many of the capabilities of [[CSS3-GRID]].
1161+
1162+ < p > If an absolutely positioned element's < i > containing block</ i > is
1163+ generated by a < a href ="#grid-container "> < i > grid container</ i > </ a > , the < a
1164+ href ="#grid-placement-properties "> < i > grid-placement properties</ i > </ a > can
1165+ be used to constrain it to a particular < a href ="#grid-area "> < i > grid
1166+ area</ i > </ a > , similar to how they affect regular < a
1167+ href ="#grid-item "> < i > grid items</ i > </ a > . In this case, an ‘< a
1168+ href ="#track-size-auto "> < code class =css > auto</ code > </ a > ’ value for a < a
1169+ href ="#grid-placement-properties "> < i > grid-placement property</ i > </ a >
1170+ indicates ...
1171+
1172+ < div class =issue >
1173+ < ul >
1174+ < li > the padding edge of the < a href ="#grid-container "> < i > grid
1175+ container</ i > </ a > (as normal for abspos)
1176+
1177+ < li > the next/previous grid line (as normal for grid items with one ‘< a
1178+ href ="#track-size-auto "> < code class =css > auto</ code > </ a > ’ value in a
1179+ dimension, as it resolves to ‘< code class =css > span 1</ code > ’)
1180+ </ ul >
1181+ </ div >
1182+
1183+ < p class =note > This can allow an abspos to "skip past" intervening grid
1184+ containers, and resolve its grid-placement properties against a grid
1185+ container other than its closest ancestor.
1186+
11431187 < h3 id =collapsed-grid-items > < span class =secno > 4.3. </ span > Collapsed Grid
11441188 Items</ h3 >
11451189
0 commit comments