forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HitTestOpaqueness] Use view scroll as the scroll state of fixed-posi…
…tion layer Scroll gesture in a fixed-position layer is special in that though the layer itself doesn't scroll, the gesture should scroll the viewport. In pre-HitTestOpaqueness, such scrolls are treated as unreliable and the main thread will scroll the viewport. In HitTestOpaqueness, a scroll gesture may be reliable in an hit-test-opaque fixed-layer, and the scroll state of the layer is now adjusted to be the viewport scroll so that the compositor can scroll the viewport, instead of crbug.com/1481779. Bug: 1413877, 1481779 Change-Id: I5f2edb77f7f6562e0e5c07be7b5d6ecf794ed9cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4874317 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1198117}
- Loading branch information
1 parent
01838f8
commit e34768e
Showing
6 changed files
with
85 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters