[css-grid-layout] Defining shrink-to-fit for Grid Elements

Hi-



We've recently opened an issue in Bugzilla discussing how the Grid spec should describe shrink-to-fit behavior of Grid element . [1]



Our preferred answer for this, in the context of the shrink-to-fit section of the basic box model spec [2] would be:



Preferred minimum width is the sum of the UsedBreadths of the column tracks just before step 3 in ComputeUsedBreadthOfGridTracks. [3]



Preferred width is the sum of the used breaths of the grid tracks after the entire track sizing algorithm has been run with infinite space.



Questions and/or feedback on any of the above issues is welcome. Thanks!



-Chris



[1]: https://www.w3.org/Bugs/Public/show_bug.cgi?id=16588
[2]: http://www.w3.org/TR/css3-box/#shrink-to-fit
[3]: http://www.w3.org/TR/css3-grid-layout/#grid-track-sizing-algorithm0

Received on Friday, 30 March 2012 21:29:05 UTC