commit | 7718a4cf7b7e60b9b40486b3357ce109fecba12c | [log] [tgz] |
---|---|---|
author | Christian Biesinger <cbiesinger@chromium.org> | Fri Jul 13 00:50:51 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jul 13 00:50:51 2018 |
tree | d396974921357aa0b1cda13fdab1d52959dc9504 | |
parent | 2320c23b12b31ac25eed8da3223f53284e1e06d4 [diff] |
[layoutng] Use cached size for ComputeInlineSizeForFragment When we are sized to shrink-to-fit, we can use the cached preferred logical width when we have one; this patch implements that. It also changes ComputeInlineSizeForFragment to take a Node, which simplifies several callers. While writing this CL, I discovered a missing check for IsParallelWritingMode in ComputeMinAndMaxContentContribution; that change is conceptually unrelated to this CL but without it 20 tests fail. Bug: 591099 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: Id793856d86b12bd46fd7e1bab42541520c7ea031 Reviewed-on: https://chromium-review.googlesource.com/1128195 Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#574793}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .