Re: [csswg-drafts] [css-grid-2] Subsetting grid-template-areas in subgrids (#4411)

The CSS Working Group just discussed `Subsetting grid-template-areas in subgrids`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: Subsetting grid-template-areas in subgrids<br>
&lt;dael> github:<br>
&lt;dael> fantasai: Presenting the issue: Mats pointed out don't have way to have subgrid...if you have a grid area that's named with template and a subgrid that partially overlaps it will have only inherited line names. Might have foo-n line in the middle, but foo-start not inside subgrid<br>
&lt;dael> fantasai: If try and place item in slot foo it can't find the start line<br>
&lt;dael> fantasai: Can we get that to fit within the part of the slot where it overlaps<br>
&lt;dael> fantasai: Multiple ways to impl with proposals in issue. One is template areas are handled specially and generate extra line as necessary in order to have both edges represented within the subgrid.<br>
&lt;dael> fantasai: Disadvantage is if you created grid area using lines it doesn't behave the same as with template.<br>
&lt;dael> fantasai: Anthoer proposal was define that if we can't find and foo-start lines or any foo lines in subgrid as searching grid-column-start instead of going to the nth edge of the subgrid we search into previous area<br>
&lt;dael> fantasai: Problem with this is it's a slight change to general way grids work; could be web compat<br>
&lt;dael> fantasai: Another is change search direction only for line names that start with 'start'. Again a behavior change<br>
&lt;dael> fantasai: Last is don't handle template subsetting and you have the case where n line exists but start doesn't<br>
&lt;dael> fantasai: Active discussion in issue, I don't think there's a clear right answer. Easist is we pull the line names and you get weird results if using name from parent template grid.<br>
&lt;dael> AmeliaBR: I don't think anyone will have strong opinions without looking in great details. Are you just letting us know?<br>
&lt;dael> fantasai: Wanted to collect opinions. If no one has anything to add we can come back later<br>
&lt;dael> Rossen_: I think we should continue on GH on this one<br>
&lt;dael> AmeliaBR: Isn't this a bit of a rush b/c FF is shipping?<br>
&lt;dael> fantasai: Yeah, we should aim to figure out in the next week<br>
&lt;dael> Rossen_: Once ew have a proposed solution we can add it.<br>

GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 16 October 2019 16:27:37 UTC