[scroll anchoring] no adjustment on politico.com |
||
Issue descriptionReproduced on desktop Linux ToT. 1. Visit http://www.politico.com/story/2017/01/democrats-trump-strategy-234206 2. While the page is loading, scroll down until the giant image overlaps the top of the viewport 3. Observe two jumps ScrollAnchor should be anchoring to the image and performing adjustments, but it isn't. Initial investigation suggests it is not a SANACLAP suppression, but findAnchor may be getting confused by some of the floats in the header.
,
Jan 26 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9bcdced388956bfc8c137cfd20c830d30748946d commit 9bcdced388956bfc8c137cfd20c830d30748946d Author: skobes <skobes@chromium.org> Date: Thu Jan 26 23:07:53 2017 Fix treatment of layout overflow rect in ScrollAnchor bounds computation. The relativeBounds helper assumed the anchor candidate's layout overflow rect was positioned at 0,0 in its local coordinate space, but this is not always the case, e.g. if positioned children have negative offsets. BUG= 685725 Review-Url: https://codereview.chromium.org/2662443003 Cr-Commit-Position: refs/heads/master@{#446485} [modify] https://crrev.com/9bcdced388956bfc8c137cfd20c830d30748946d/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp [modify] https://crrev.com/9bcdced388956bfc8c137cfd20c830d30748946d/third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp
,
Jan 27 2017
Verified in canary (58.0.2994.1). |
||
►
Sign in to add a comment |
||
Comment 1 by skobes@chromium.org
, Jan 26 2017