Ignore layout shifts for adding/removing position:fixed - Treat position:fixed in scrolling LayoutView as layout shift root (by checking CompositingReason::kScrollDependentPosition, which also covers the previous sticky position condition). - Check whether an object was a layout shift root at the beginning of PaintPropertyTreeBuilder::UpdateForSelf(). Previously was_layout_shift_root was incorrect if UpdateFragments() removed PaintProperties() of the FragmentData. - Update layout_shift_root_changed in both UpdateForSelf() and UpdateForChildren(), so that the flag also applies to the object itself if any paint properties in UpdateForSelf() affected layout shift root status. Bug: 1150657 Change-Id: I74a5e3bab93e66483b47eb27a04e7bf2277ee1c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2665761 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#849650}
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.