- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 31 Jan 2019 20:51:21 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-grid] auto min size definition is circular == From https://drafts.csswg.org/css-grid/#min-size-auto, > However, if the grid item spans only grid tracks that have a fixed max track sizing function, its specified size suggestion and content size suggestion in that dimension (and the input to the transferred size suggestion in the other dimension) are further clamped to less than or equal to the stretch fit the grid area’s size (so as to prevent the content-based minimum size from forcing overflow of its fixed-size grid area). This assumes that the grid area’s size is known, but the sizing algorithm uses the used value of the minimum size e.g. in https://drafts.csswg.org/css-grid/#min-size-contribution > The minimum contribution of an item is the outer size that would result from assuming the item’s used minimum size (min-width or min-height, whichever matches the relevant axis) as its preferred size The condition already checks that the track sizing function is fixed, so I would just clamp by that value instead of by the grid area’s size which may not be known yet. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3581 using your GitHub account
Received on Thursday, 31 January 2019 20:51:22 UTC