0
Files
src/docs/speed
Xianzhu Wang 2cc471f8ea Clip layout shift tracking rect by visual viewport rect
When mobile viewport is enabled, we have two viewports: the visual
(inner) viewport and the layout (outer) viewport. The clip of the
visible viewport is not in the paint property tree, so we need to
apply the clip separately. The clip was mistakenly removed in
crrev.com/824480.

Also fix a bug before crrev.com/824480: the current scroll offset
of the visual viewport was not considered when applying the visual
viewport clip, which caused invisible shifts reported and visible
shifts not reported.

Bug: 1141739
Change-Id: I425718b1fdfb2689a7f2948c561101d0b476eb7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593180
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#837853}
2020-12-17 01:06:15 +00:00
..
2020-10-08 22:56:59 +00:00
2020-10-08 22:56:59 +00:00
2020-12-04 18:32:18 +00:00

Chrome Speed

Contact information

User Docs

Core Teams and Work