[LayoutNG] Implement NGColumnLayoutAlgorithm::ComputeMinMaxSize().
Intrinsic sizing for multicol used to be defined in the intrinsic and extrinsic sizing CSS spec, but it must have been removed at some point. All we have for inspiration now is the implementation in the legacy engine, which landed with https://chromiumcodereview.appspot.com/23763002 back in 2013. That, and common sense. :) The principles of min/max width calculation are, after all, quite simple: 1. Figure out how much width we need to prevent avoidable overflow (min) 2. Figure out how much width we need to prevent avoidable soft wrapping (max) Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Id465449369d0227883e08228ce33346eb5b5cdba Reviewed-on: https://chromium-review.googlesource.com/700460 Commit-Queue: Morten Stenshorne <mstensho@opera.com> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#506680}
Showing
Please register or sign in to comment