- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 Apr 2020 00:25:49 +0000
- To: public-css-archive@w3.org
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-flexbox][maybe others] Layout algo is too specific about sizing of the container == The [flexbox layout algo](https://drafts.csswg.org/css-flexbox/#layout-algorithm) has *very specific rules* for determining the main (step 4) and cross (step 15) size of the flex container. But these rules are wrong! Step 4 is handwavey (which @SimonSapin has complained about in the past) and Step 15 is overly specific and would prevent, say, a flex container that is a grid item from getting stretched (I think?) What we want to instead do is define a "content size" (which step 4 and 15 do admirably), and then defer to a generic algo shared by all (maybe not Table?) layout modes that sizes the container based on its content size. This "content size" is also the size of the "alignment subject" for content alignment (the align-content/etc properties). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4956 using your GitHub account
Received on Thursday, 16 April 2020 00:25:51 UTC