commit | 646672e24e871636d34942d9c73e3ab43a4d259b | [log] [tgz] |
---|---|---|
author | Alison Maher <almaher@microsoft.com> | Wed Nov 10 20:46:44 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 10 20:46:44 2021 |
tree | 64b3df8afd28ed169a41e7a8b63026ba29d2ad99 | |
parent | 7f58c5495b8c98c1804c6b3de749e693903d5786 [diff] |
[FlexNG] Fragmentation for stretched items As suggested in CL:3256656, refactor ApplyStretchAlignmentToChild() to use BuildSpaceForLayout. To accomplish this, pass the final line cross size into BuildSpaceForLayout during the final layout pass for stretched items. By doing this we can remove ApplyStretchAlignmentToChild(), and call into LayoutWithBlockFragmentation() for stretched items if applicable (since that will also call into BuildSpaceForLayout). A new wpt test was added to test basic fragmentation for stretched flex items. virtual/layout_ng_flex_frag/fast/multicol/flexbox/doubly-nested-with-zero-width-flexbox-and-forced-break-crash.html is now being skipped due to a timeout. Seems to be caused by the forced break. This test was not timing out before since fragmentation was not being applied to the test previously. This will be investigated in a follow-up. Bug: 660611 Change-Id: Ifefbe1480c7134c5fbf215cd1e03a8e79e45f1ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3267938 Commit-Queue: Alison Maher <almaher@microsoft.com> Reviewed-by: David Grogan <dgrogan@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#940473}
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.