commit | 82ea4e6e23be1bdefbe02b20f0b8d750ca342baa | [log] [tgz] |
---|---|---|
author | Ian Kilpatrick <ikilpatrick@chromium.org> | Tue Dec 10 02:33:38 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 10 02:33:38 2024 |
tree | c272b36ea6a3db63839540d85f1d430949a4639c | |
parent | 9449ebb00dc23f6289f192f94f1ba1ea2e8b2540 [diff] |
[flex] Apply auto margins for items in GiveItemsFinalPositionAndSize Previously we'd apply the auto margins for a flex item in two discrete places. This was somewhat confusing to know what state FlexItem::physical_margins_ was in as it could be with no auto margins applied, main-axis auto margins applied, or all auto margins applied. Instead of this just apply them during placement. This makes FlexItem::physical_margins_ const (which I'll rename to "initial_margins_" in a future patch. There should be no behaviour change. Change-Id: I32f407eb23d301103f07ddfd97ddcd57d200cb43 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6077912 Reviewed-by: David Grogan <dgrogan@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/main@{#1394048}
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.