- From: François REMY via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Oct 2019 16:50:28 +0000
- To: public-css-archive@w3.org

@atotic All good questions. Here is how I thought about things: - Step 1: all rows have their minimum size - Step 2: compute the minimum height of every row group by summing them - Step 3: compute the size of each row, resolving percentages based on the previous estimate. - Step 4: compute the sum of all row heights, reduced by their minimum height of step 1. This is the space requested for distribution. It could be higher than the height available to distribute. - Step 5: find alpha such that alpha = requested-to-be-distributed-height / available-to-distribute-height; the final height of each row will be minimum + alpha * requested increase. - Step 6: if alpha is an undefined number (dividing by 0) then increase all rows proportionally to their current height : final height = beta * minimum height (where beta > 1) How does that sound to you? -- GitHub Notification of comment by FremyCompany Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4418#issuecomment-542793154 using your GitHub account

Received on Wednesday, 16 October 2019 16:50:30 UTC