Bug 196724

Summary: Sticky-positioned element inside async overflow:scroll moves incorrectly
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: koivisto, simon.fraser
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2019-04-08 21:06:21 PDT
For position:-webkit-sticky inside async overflow:scroll, there are several scenarios that we have to deal with: 1. Compositing ancestor is some ancestor outside the overflow:scroll 2. Compositing ancestor is the overflow:scroll (works OK now) 3. Compositing ancestor is an element inside the overflow:scroll
Attachments
Simon Fraser (smfr)
Comment 1 2019-04-08 21:06:42 PDT
Simon Fraser (smfr)
Comment 2 2019-04-08 21:38:06 PDT
In ScrollingTreeStickyNode::applyLayerPositions(), enclosingScrollingNodeIncludingSelf() is wrong if the scroller is not a compositing ancestor of the sticky.
Simon Fraser (smfr)
Comment 3 2019-06-11 13:56:25 PDT
I think bug 198532 fixed this. *** This bug has been marked as a duplicate of bug 198532 ***
Note You need to log in before you can comment on or make changes to this bug.