Re: [csswg-drafts] [css-grid] Ability to have grid items cause cells to be marked as occupied for flow purposes

Well, you can technically make it work for "width" if you consider the tracks sized with "auto", "fr" and "percentages" (if widthis content-dependent) to be infinite and therefore content will never need any other cell on their right.

This doesn't work for height though, because the height of the items depends on their width and their width depend on the track sizes which themselves depend on content placement. Making it work in one direction and not the other seems meh and confusing to me, probably not worth pursuing. 

As Tab mentioned however, if the grid is fully fixed in both directions, then you can do the item layout as you are placing them, but that is fundamentally different from how grid works today. A completely different algorithm.

GitHub Notification of comment by FremyCompany
Please view or discuss this issue at using your GitHub account

Received on Monday, 29 May 2017 22:50:49 UTC