Re: [csswg-drafts] [css-grid-2] subgrid border/padding/margin

This might be very naïve, but the way I implemented this in the subgrid Houdini demo is to count the mbp on the full subgrid (for which I compute a minimum width based on the items min-content for auto columns), then as margin on each subitem that starts/ends in the first/last row or column of the subgrid. 

It's not very clear to me why it is desirable to ensure the mbp is accounted for in the first track, that track could be fixed-size and not able to accommodate that mbp, and you might want to accommodate it in the other tracks instead. But maybe I missed something.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2592#issuecomment-396477815 using your GitHub account

Received on Tuesday, 12 June 2018 06:17:48 UTC