0
Files
src/docs/speed
Xianzhu Wang c3a63721ee Improve counterscroll handling
Previously we tracked the maximum scroll offset in a viewport to ignore
counterscroll shifts, but it failed when
- There were multiple scrollers scroll at the same time. Tested by
  external/wpt/layout-instability/shift-with-counterscroll-2.html.
- An invisible shift was countered by both scroll and transform, e.g.
  move layout location by 100px, scroll by -50px, and transform by
  -50px. Tested by
  external/wpt/layout-instability/shift-with-counter-scroll-and-transform.html

Now let PaintPropertyTreeBuilder track scroll delta, and pass the delta
to LayoutShiftTracker.

Bug: 1182213
Change-Id: I18366ff7bc0e96374a954bee1c1600b582681dd8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2741240
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861702}
2021-03-10 21:34:34 +00:00
..

Chrome Speed

Contact information

User Docs

Core Teams and Work