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

I believe this change would be a mistake. How else would user-land be able to create Grid inspectors/overlays? 

By no longer returning the implicit tracks, this change breaks every Grid overlay/inspector/generator tool on the web, including:

my [Grid Critters](https://gridcritters.com) game:
![gc-example](https://user-images.githubusercontent.com/515722/78405137-116f5880-75bd-11ea-9ddb-dd6831329c75.jpg)

[Webflow](https://webflow.com)'s Grid Inspector
![image](https://user-images.githubusercontent.com/515722/78405341-86db2900-75bd-11ea-9c0a-3d17fc3b994f.png)

If this change is necessary, then we need some other way of getting all the grid track information. Firefox devtools' Grid Inspector uses a privileged `element.getGridFragments()` method that includes implicit grid tracks, but it's not available in user-land. `getComputedStyle()` is all we have ATM. Please don't break it. 





-- 
GitHub Notification of comment by geddski
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4475#issuecomment-608669901 using your GitHub account

Received on Friday, 3 April 2020 21:16:01 UTC