mirror of
https://github.com/servo/servo
synced 2026-05-15 03:16:47 +02:00
Compute available main and cross size of flex containers Compute the available main and cross size of flex containers, and add a helper for min/main constraints. Currently, this should only impact inline sizing. I wanted to get some feedback before I made more changes. Will probably need to be rebased if #10178 is merged first or visa versa. Specs: https://drafts.csswg.org/css-flexbox/#line-sizing https://drafts.csswg.org/css2/visudet.html#min-max-widths https://drafts.csswg.org/css2/visudet.html#min-max-heights <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10330) <!-- Reviewable:end -->