[scroll anchoring] anchor selection ignores abs-pos container |
||
Issue descriptionReproduced on desktop Linux ToT. 1. Visit http://usuncut.com/climate/epa-terminate/ 2. While the page is loading, scroll down until the giant image overlaps the top of the viewport 3. Observe a jump when the ad loads ScrollAnchor should be anchoring to the image and performing an adjustment. It looks like the <html> element is reporting a layout overflow rect of height == 0.
,
Mar 13 2017
Patch up: http://crrev.com/2741853006
,
Mar 14 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/eeb280562292e14bdfc3dfa494f6599a1d43ae2b commit eeb280562292e14bdfc3dfa494f6599a1d43ae2b Author: skobes <skobes@chromium.org> Date: Tue Mar 14 02:14:25 2017 Fix ScrollAnchor descent into absolute-positioned containers. If the normal DOM walk yields nothing, examine the positioned descendants that were skipped due to their DOM parents being offscreen. BUG= 692701 Review-Url: https://codereview.chromium.org/2741853006 Cr-Commit-Position: refs/heads/master@{#456575} [modify] https://crrev.com/eeb280562292e14bdfc3dfa494f6599a1d43ae2b/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp [modify] https://crrev.com/eeb280562292e14bdfc3dfa494f6599a1d43ae2b/third_party/WebKit/Source/core/layout/ScrollAnchor.h [modify] https://crrev.com/eeb280562292e14bdfc3dfa494f6599a1d43ae2b/third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp
,
Mar 16 2017
Verified in canary (59.0.3042.0). |
||
►
Sign in to add a comment |
||
Comment 1 by skobes@chromium.org
, Feb 15 2017