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

Re: [csswg-drafts] [css-grid-2] subgrid and grid-gap

From: Manuel Rego Casasnovas via GitHub <sysbot+gh@w3.org>
Date: Thu, 08 Feb 2018 12:52:04 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-364102580-1518094323-sysbot+gh@w3.org>
> I don't think it's that strange. If I set `grid-gap: 0` on the sub grid that is exactly what I would expect to see.

By strange I meant that you've a grid container with 2 columns of a fixed size (`grid-template-columns: 200px 100px`), but a subgrid of that container has different sizes for these tracks.

And if you go to more complex cases, what happens if you have `grid-template-columns: 200px 1fr` with a `grid-column-gap: 50px`. And you want to remove the gap in the subgrid of the 2nd row (like in the previous picture).
What should be the size of the first column in the subgrid? `200px` or `225px`? Shouldn't the `1fr` take the space of the gap?

-- 
GitHub Notification of comment by mrego
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2285#issuecomment-364102580 using your GitHub account
Received on Thursday, 8 February 2018 12:52:13 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC