You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-flexbox] Definite sizes section could use clarification #3531
Upon re-reading this section, I have a few suggestions for it:
Item 3 is only referring to flex items who are stretch-aligned, I believe. Also, instead of sayings "items ... are ... definite" it should say "cross-sizes of items" are definite.
Item 1 is not necessary, I believe. It follows automatically from item 3 / stretch handling combined with the fact that flex lines in single-line flex containers are sized to the container. So it seems this could be turned into a note / optimization opportunity (because you can avoid an extra layout pass in this case)
It looks like fantasai's edit addresses your first bullet point.
I just pushed an edit handling your second; you're right, once we genericize the language in Item 3, it covers the Item 1 case entirely, so I just moved Item 1 to being a note.
The second commit 6dd2edc is actually not editorial. We depend on the stretched size being definite when sizing the item in step 3, so we can't collapse these two points.
Activity
[css-flexbox-1] Clarify that we're only talking about the cross-sizes…
[css-flexbox] Remove the redundant first bullet point (changing it to…
tabatkins commentedon Jun 11, 2020
It looks like fantasai's edit addresses your first bullet point.
I just pushed an edit handling your second; you're right, once we genericize the language in Item 3, it covers the Item 1 case entirely, so I just moved Item 1 to being a note.
fantasai commentedon Jul 13, 2020
The second commit 6dd2edc is actually not editorial. We depend on the stretched size being definite when sizing the item in step 3, so we can't collapse these two points.
[css-sizing-4] Whoops, that bullet point wasn't redundant at all; we …
fantasai commentedon Nov 4, 2020
[Two issues reported in this issue: one was accepted as editorial, the other rejected as invalid.]
cbiesinger commentedon Nov 5, 2020
sounds good.