- From: Ethan Jimenez via GitHub <sysbot+gh@w3.org>
- Date: Wed, 12 Jan 2022 07:35:09 +0000
- To: public-css-archive@w3.org
There are two main things I digest from the spec regarding this issue: 1. Even if a subgrid has an indefinite grid span because of either `*-start` or `*-end` definition is `auto`, the number of grid lines that the subgrid spans will be definite because of the `grid-template-*` definition (clamped to span at least 2 grid lines). I believe it's a bit confusing to phrase it like "indefinite" since there is an actual definition that governs the span size. 2. From https://drafts.csswg.org/css-grid-2/#subgrid-tracks: > Placing the subgrid creates a correspondence between its subgridded tracks and those that it spans in its parent grid. To me, this implies that in order to know the actual grid lines of a subgrid we need to place it in its parent first. This assumption seems consistent when you think about placing items within a subgrid using line names that are inherited from the parent grid: <grid=auto / [a] [b] [a] [b]> <item column=1 / 2></item> <subgrid column=2 / 4> <item column=a></item> </subgrid> </grid> In the example above, in order to place the innermost item, we need to know the placement of the subgrid so that we know which spanned grid lines are named "a". Thus, I think we already depend on the parent's placement. -- GitHub Notification of comment by ethanjv Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6905#issuecomment-1010730126 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 12 January 2022 07:35:11 UTC