Chromium Code Reviews
DescriptionClear scroll anchor on all parent scrollers from ScrollAnchor::clear
Before this CL, a call to ScrollAnchor::clear() would clear the anchor node
on the containing scroller, and set the LayoutObject::IsScrollAnchorObject
bit on the anchor if there is no other scroll referencing it.
With this CL, a call to ScrollAnchor::clear() walks up the parent chain and
clears the scroll anchor for every scroller encountered in the walk. As a
result, the LayoutObject::IsScrollAnchorObject is always set to false.
This CL is dependent on https://codereview.chromium.org/2400723002
BUG=650017
Committed: https://crrev.com/121a3d55a69bb82a46ee9e3159a0be1810052368
Cr-Commit-Position: refs/heads/master@{#424748}
Patch Set 1 #
Total comments: 1
Patch Set 2 : rebase and fix merge #
Total comments: 9
Patch Set 3 : Apply review comments #
Total comments: 2
Patch Set 4 : review comments #
Messages
Total messages: 13 (3 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||