commit | 46de48d287c6eaf2f811b47312e3f2f0d9532e01 | [log] [tgz] |
---|---|---|
author | Yi Gu <yigu@chromium.org> | Wed Jun 06 13:29:23 2018 |
committer | Yi Gu <yigu@chromium.org> | Wed Jun 06 13:29:23 2018 |
tree | 2ac0d9532ace0f4a6dfbf138ea97cc6af354aeb3 | |
parent | 243eea5e9018942e5333515689d612d612a399f5 [diff] |
Compute correct sticky box constraints within scrollable containers Currently calculating the skipped offset between sticky and its containing block assumes that the latter is not scrollable. However, when it is we should ignore the scroll offset from the container otherwise scrolling the container would cause the sticky offset incorrectly double accumulated. Bug: 841551 Change-Id: Ib49aaa74808847dcf6fce7dc0db9ac4d2de06c64 Reviewed-on: https://chromium-review.googlesource.com/1054488 Commit-Queue: Yi Gu <yigu@chromium.org> Reviewed-by: Robert Flack <flackr@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#564276}(cherry picked from commit d5270f6e22964848928f2f6a6d2263d012186e24) Reviewed-on: https://chromium-review.googlesource.com/1087333 Reviewed-by: Yi Gu <yigu@chromium.org> Cr-Commit-Position: refs/branch-heads/3440@{#209} Cr-Branched-From: 010ddcfda246975d194964ccf20038ebbdec6084-refs/heads/master@{#561733}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .