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   

Description Simon Fraser (smfr) 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
Comment 1 Simon Fraser (smfr) 2019-04-08 21:06:42 PDT
<rdar://problem/49667212>
Comment 2 Simon Fraser (smfr) 2019-04-08 21:38:06 PDT
In ScrollingTreeStickyNode::applyLayerPositions(), enclosingScrollingNodeIncludingSelf() is wrong if the scroller is not a compositing ancestor of the sticky.
Comment 3 Simon Fraser (smfr) 2019-06-11 13:56:25 PDT
I think bug 198532 fixed this.

*** This bug has been marked as a duplicate of bug 198532 ***