Bug 196724
| Summary: | Sticky-positioned element inside async overflow:scroll moves incorrectly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Scrolling | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
<rdar://problem/49667212>
Simon Fraser (smfr)
In ScrollingTreeStickyNode::applyLayerPositions(), enclosingScrollingNodeIncludingSelf() is wrong if the scroller is not a compositing ancestor of the sticky.
Simon Fraser (smfr)
I think bug 198532 fixed this.
*** This bug has been marked as a duplicate of bug 198532 ***