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

Re: [csswg-drafts] [css-grid] Resolved values of grid-template-rows/columns don't round-trip (#4475)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Thu, 31 Oct 2019 22:47:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-548598968-1572562042-sysbot+gh@w3.org>
Oh, the spec seemed pretty clear to me:

https://drafts.csswg.org/css-grid/#resolved-track-list

> Every track listed individually, whether implicitly or explicitly created, without using the `repeat()` notation.

https://drafts.csswg.org/css-grid/#implicit-grids

> The grid-template-rows, grid-template-columns, and grid-template-areas properties define a fixed number of tracks that form the explicit grid. When grid items are positioned outside of these bounds, the grid container generates implicit grid tracks

All Chromium, WebKit, Firefox and Edge implemented it this way. There are also various WPT tests that expect this behavior. Not sure if it may be too late to remove implicit tracks from the resolved value, there might be code relying on that.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4475#issuecomment-548598968 using your GitHub account
Received on Thursday, 31 October 2019 22:47:25 UTC

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