Bugzilla – Bug 16588
Grid spec should describe shrink-to-fit behavior of Grid element
Last modified: 2012-04-26 20:35:53 UTC
The Grid spec should define the min-content and max-content widths of a grid element, if the grid element is shrink-to-fit.
One possibility would be for min-content to be the sum of the used breadths of the column tracks just before step 3 in ComputeUsedBreadthOfGridTracks, while max-content would be the sum of the used breaths of the grid tracks after the entire track sizing algorithm has been run with infinite space.
Solution proposed on www-style for this issue here: http://lists.w3.org/Archives/Public/www-style/2012Mar/0717.html
Fixed in Section 11 of the April 20, 2012 Editor's Draft: http://dev.w3.org/csswg/css3-grid-layout/