Re: [csswg-drafts] [css-grid-2][css-grid] `grid-template-rows/columns` Computed / Resolved Values for 'subgrid' values (#4362)

The CSS Working Group just discussed `` `grid-template-rows/columns` Computed / Resolved Values for 'subgrid' values``, and agreed to the following:

* `RESOLVED: Serialize the subgrid template rows and columns to only include line names defined for the subgrid locally and not include names that came from the parent grid`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: `grid-template-rows/columns` Computed / Resolved Values for 'subgrid' values<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/4362<br>
&lt;dael> fantasai: Have a WG resolution, noted there is a minor point that...we took resolved value as used value similar to regular grid. What we didn't consider is we unroll repeat values and truncate line names list to number we have. DIdn't consider if adopt parent names active on sub grid. Mats prefers to leave then out of resolved value<br>
&lt;dael> TabAtkins: And we're fine either way<br>
&lt;dael> AmeliaBR: Debate is return extra information about the computation rather keep simplest computed style?<br>
&lt;dael> Rossen_: In case of one line name in subgrid and that name comes from parent grid it will serialize to nothing. Is that proposal?<br>
&lt;dael> TabAtkins: Yes, if subgrid didn't get line names it will resolve to enough empty line name sets to give number of columns. You won't see parents line name<br>
&lt;dael> Rossen_: This makes sense from model point of view. Trying to think through scenarios where you need awareness of names<br>
&lt;dael> TabAtkins: If you're trying to do some modeling on your own based on line names you might want full set. You ccan walk up grid, but it is more work. I suspect that's a low value case. Given not reflecting them down is easier for impl I'm fine leaving off<br>
&lt;dael> Rossen_: Also I think is better model. We can later on if there's use cases we can add with a different serializer<br>
&lt;dael> Rossen_: It's a good clarification to the previous resolution<br>
&lt;dael> ??: I think current wording is confusing it says exclduing those defined in parent grid. What if they define same name, do we want to include? I think you're trying to say only include the one locally<br>
&lt;rego> s/??/oriol<br>
&lt;dael> TabAtkins: Yes, it's local names, not local names minus parent. We can reword to make it clear<br>
&lt;dael> Rossen_: Anything else?<br>
&lt;dael> Rossen_: Prop: Serialize the subgrid template rows and columns to only include line names defined for the subgrid locally and not include names that came from the parent grid<br>
&lt;dael> RESOLVED: Serialize the subgrid template rows and columns to only include line names defined for the subgrid locally and not include names that came from the parent grid<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4362#issuecomment-542786807 using your GitHub account

Received on Wednesday, 16 October 2019 16:34:01 UTC