W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

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

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Tue, 12 Jun 2018 06:17:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-396477815-1528784256-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 12 June 2018 06:17:50 UTC