commit | 94b20a3a101a91df155cba63343e5130a3bda69a | [log] [tgz] |
---|---|---|
author | Xianzhu Wang <wangxianzhu@chromium.org> | Thu Oct 13 22:29:54 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 13 22:29:54 2022 |
tree | 9e05b0f5bbe6823b2359e130d112c398d2882d3f | |
parent | 591a01f66cee8c84537013b9a6bbeecff11b838a [diff] |
Invalidate all sticky constraints under a scrollable area when removing a sticky layer Multiple sticky position constraints under the same scroll container may have links between them. Previously we relied on the NeedsLayout flag on the scroll container to update other sticky constraints, but "contain: layout" etc. sometimes prevent that. Now invalidate all sticky constraints. This won't over invalidate very much in most cases because we would do this if the scroll container was marked NeedsLayout without "contain: layout". Bug: 1372885 Change-Id: I99efaad42fb51e6bc6dd0e0ee3895c4ec24ef760 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3953075 Reviewed-by: Robert Flack <flackr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1058964}
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.