- From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 May 2019 19:40:16 +0000
- To: public-css-archive@w3.org
Well, there's an intermediary level between the grid container and its contents, which is the tracks. The "containing block" for an item isn't the grid container, it's its grid area which is defined by the tracks. It isn't clear to me how the tracks should be calculated under `contain:size`. I guess what you're suggesting then is: ``` 1. without placing any items first, run Track Sizing algo and pretend we have no items 2. calculate the grid container size from those tracks, then discard those tracks 3. layout the grid container as usual but with the size from 2 as the definite final size of the grid container (this will create tracks and size them from the items as usual, although the track sizes will have no influence on the grid container's size, but will possibly create overflow?). ``` or something else? -- GitHub Notification of comment by MatsPalmgren Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3892#issuecomment-490227116 using your GitHub account
Received on Tuesday, 7 May 2019 19:40:18 UTC