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

For the algorithm we currently use:

 - We use the "standard" Knuth-Plass type scoring where we minimize:
```math
min\{\sum_i^{N} ({free\_space}_{i})^2 \}
```

I.e. We minimize the square of the free-space on each flex-line across all lines.



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


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

Received on Friday, 30 January 2026 20:25:17 UTC