Re: [csswg-drafts] [css-flexbox-2] Add flex-wrap: balance; (#3070)

When balancing line breaking with items of equal width there will be multiple optimal solutions. The algorithm could prioritise full rows in the start, center or in the end of the container.

The example @SelenIT gave prioritises fuller rows in the end of the container, so that the first items grows more when using flex-grow:
> more like creating [layouts like this](https://grack.com/assets/2015/01/nth-child/image-count.html)

Would it be possible to provide control over how the algorithm would balance items? 
I.e. have something like a separate `flex-wrap-balance` property with possible values `none`, `start`, `center` or `end`?

<img width="742" alt="Screenshot 2022-08-01 at 18 59 03" src="https://user-images.githubusercontent.com/175195/182203175-d18af5fd-3e4e-44e3-9ca7-d0b09c85513d.png">







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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 1 August 2022 17:09:45 UTC