Re: [csswg-drafts] [css-grid][css-align] Align vs Grid vs undefined on how grid items are sized

Ok, I went over this issue with the Microsoft folks, and my conclusion
 is that we need to make sure grid items are sized the same (in both 
axes) as flex items are in the cross axis. This is for consistency 
with flexbox, whose behavior is much more grid-like in the cross axis 
(e.g. lines ~ tracks, items don't stack they stay in their own 
lines/tracks). This allows items to take the size of the tracks 
they're in, which is probably closer to author expectations (and 
Microsoft seems to have concluded this as well, since that's what 
their implementation does).

Concretely, this means applying the CSS2.1 non-replaced block width 
formula to items when they are stretched, and fit-content sizing for 
other alignment values. I'll create edits to the spec as appropriate. 
Please let me know if you have any additional comments or 
considerations here.

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

Received on Tuesday, 16 August 2016 04:15:01 UTC