[layoutng] More correct intrinsic sizing of orthogonal children
This allows us to get "correct" sizing of orthogonal children when computing min/max content sizes. I have not verified if this behavior is 100% correct per the spec, but it certainly gets us much closer and allows us to pass a number of additional tests. This is done by adding a writing_mode parameter to NGLayoutInputNode::ComputeMinMaxSize, and the block node is then responsible for producing right value for that writing mode. If orthogonal, it does layout with the given constraint space, if any. Bug: 591099 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I5cf30a91b9548a3894c2bee483ec3245fec962e6 Reviewed-on: https://chromium-review.googlesource.com/1069848 Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#561664}
Showing
Please register or sign in to comment