W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

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

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Wed, 09 Oct 2019 18:32:15 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-540130699-1570645934-sysbot+gh@w3.org>
I forgot to ask about trailing lines with no names. If we have for example:
```css
  grid-column: span 4;
  grid-template-columns: subgrid [] [a];
```
should that resolve to `subgrid [] [a] [] [] []` or `subgrid [] [a]`?
The general principle of shortest possible serialization would suggest the latter, but I think there's also some utility in the former since it makes it possible for script to figure out how many tracks the subgrid spans (which might be hard to deduce otherwise - for example if line names were used to position the subgrid). (I have no personal preference, it's trivial to implement either.)

-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4362#issuecomment-540130699 using your GitHub account
Received on Wednesday, 9 October 2019 18:32:17 UTC

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