@@ -2773,28 +2773,19 @@ With a Grid Container as Containing Block</h3>
27732773 contributes a special line to the <a>placement</a>
27742774 whose position is that of the corresponding padding edge of the <a>grid container</a>
27752775 (the padding edge of the scrollable area, if the <a>grid container</a> overflows).
2776+ These lines become the first and last lines (0th and -0th) of the <dfn>augmented grid</dfn>
2777+ used for positioning absolutely-positioned items.
27762778
27772779 Note: Thus, by default, the absolutely-positioned box's <a>containing block</a> will correspond
27782780 to the padding edges of the <a>grid container</a> , as it does for <a>block containers</a> .
27792781
2780- <div class="issue">
2781- A grid with visible overflow is problematic here, because it puts the last line of the grid after the padding edge.
2782- Options are:
2783- <ul>
2784- <li> Use the grid edge instead of the padding edge when there's non-scrollable overflow.
2785- This is inconsistent with how block containers work.
2786- <li> Deal with negative-width grid tracks resulting from this inversion.
2787- <li> Use the grid edge, but then clamp the containing block to the padding area.
2788- <li> Honor the non-''auto'' edge and clamp the size to zero.
2789- <li> Something else?
2790- </ul>
2791- </div>
2792-
27932782 Absolute positioning occurs after layout of the <a>grid</a> and its in-flow contents
2794- and does not contribute to the sizing of any grid tracks.
2795- Any <em> new</em> <a>implicit grid lines</a> added by a <a>grid-placement property</a>
2796- are positioned atop the last <a>grid line</a> on that side of the <a>grid</a>
2797- (rather than having their placement determined by 'grid-auto-rows' /'grid-auto-columns' and the <a>grid sizing algorithm</a> ).
2783+ and does not contribute to the sizing of any grid tracks
2784+ or affect the size/configuration of the grid in any way.
2785+ If a <a>grid-placement property</a> refers to a non-existent line
2786+ either by explicitly specifying such a line or by spanning outside of the existing <a>implicit grid</a> ,
2787+ it is instead treated as specifying ''auto''
2788+ (instead of creating new <a>implicit grid lines</a> ).
27982789
27992790 If the <a>placement</a> only contains a <a>grid span</a> ,
28002791 replace it with the two ''auto'' lines in that axis.
0 commit comments