[blink-gen-property-trees] viewport jitters by scrollbar width |
|||
Issue descriptionWhat steps will reproduce the problem? 0. Start chrome with --enable-blink-gen-property-trees 1. Visit http://bokand.github.io/bottomfixed.html 2. Scroll/fling down quickly What is the expected result? The red box should remain fixed to the screen bottom What happens instead of that? The red box jitters as the page is scrolling, remaining approximately fixed but moving around by a few pixels.
,
Aug 2
,
Aug 15
Screen shot showing the issue - see the white gap between the bottom right corner and the scrollbars
,
Aug 21
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/605cc1f42d865005ce76620eda5b46fd9c18e287 commit 605cc1f42d865005ce76620eda5b46fd9c18e287 Author: Sahel Sharify <sahel@chromium.org> Date: Tue Aug 21 18:15:12 2018 Viewport contents rect should exclude scrollbar size. the scrollbars are attached to the visual viewport but created by (and have space saved by) the frame view. So we need to exclude them from the container rect but also from the contents rect because we don't want to be able to scroll into the region saved for scrollbars. Bug: 855074 Test: All/PaintPropertyTreeUpdateTest.ViewportContentsAndContainerRectsDoNotIncludeScrollbar/* Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I4ea231f1a656f35094a2c388076bc2fdd61086da Reviewed-on: https://chromium-review.googlesource.com/1183526 Commit-Queue: Sahel Sharify <sahel@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#584827} [modify] https://crrev.com/605cc1f42d865005ce76620eda5b46fd9c18e287/third_party/blink/renderer/core/frame/visual_viewport.cc [modify] https://crrev.com/605cc1f42d865005ce76620eda5b46fd9c18e287/third_party/blink/renderer/core/paint/paint_property_tree_update_tests.cc
,
Aug 22
Fix verified in ToT build! Nice! |
|||
►
Sign in to add a comment |
|||
Comment 1 by bokan@chromium.org
, Jun 21 2018Owner: sahel@chromium.org
Summary: [blink-gen-property-trees] viewport jitters by scrollbar width (was: [blink-gen-property-trees] position: fixed element jitters while scrolling)