- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Sat, 26 Nov 2016 06:17:37 +0000
- To: public-css-archive@w3.org
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-grid] Automatic minimum size clamping by grid area should transfer through aspect ratio == I think this is an error in the clamping rule... The spec says in 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 automatic minimum size in that dimension is further clamped to less than or equal to the size necessary to fit its margin box within the resulting grid area (flooring at zero). I think that if the transferred size (this dimension's size transferred through the aspect ratio to the other dimension) is controlling the size in the other dimension, then that transferred size should also get clamped accordingly. Possible edits for this would be > However, if the grid item spans only grid tracks that have a fixed max track sizing function, its automatic minimum size in that dimension is further limited by treating the item’s <a>fill-available fit</a> into the sum of those track sizes as an additional maximum limit (floored at zero) for clamping the “specified size” and “content size” in that dimension and accordingly the “transferred size”, if any, in the other dimension, so as to prevent the automatic minimum from forcing overflow of its fixed-size <a>grid area</a>. Let me know what you think. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/767 using your GitHub account
Received on Saturday, 26 November 2016 06:17:43 UTC