commit | 2dbeeb6cfcea8989c995a82b430a3b9f2984d0ce | [log] [tgz] |
---|---|---|
author | Alison Maher <almaher@microsoft.com> | Thu Mar 17 22:00:14 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 17 22:00:14 2022 |
tree | 2b1e2202a705821a4f4d7c6299b8faed1714741a | |
parent | f103d8fd016ca4c8d7383529f0137b4616487906 [diff] |
[FlexNG] Handle break rules for multi-line columns Add support for break-before/after/inside rules for multi-line column flex containers. Because we fragment the columns independently, we needed a way to keep track of the break-after and early-break for each column (tracked by NGFlexColumnBreakInfo). We also may now have more than one early break in a given fragment, so a way to pass in additional early breaks was added to the layout algorithm when we abort due to an early break. Because columns can be considered a "row" of columns, the break-before for all first items in a column were accumulated to the container (same with break-after and the last items in each column). Bug: 660611 Change-Id: I198fe0543f2c89bb5d188a4e2996bec89b4546cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3531137 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Alison Maher <almaher@microsoft.com> Cr-Commit-Position: refs/heads/main@{#982441}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.