Bug 196724 - Sticky-positioned element inside async overflow:scroll moves incorrectly
Summary: Sticky-positioned element inside async overflow:scroll moves incorrectly
Status: RESOLVED DUPLICATE of bug 198532
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-08 21:06 PDT by Simon Fraser (smfr)
Modified: 2019-06-11 13:56 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***