Open Bug 1314422 Opened 5 years ago Updated 3 years ago
Sticky position outside scroll clip can cause scroller to grow infinitely
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36 Steps to reproduce: Load the attached HTML file. The green sticky box is stuck below the scroll clip. Scroll down to reach it. Actual results: As you scroll down the scrollable content length grows infinitely as the sticky box is pushed down so you can never scroll to it. Expected results: Chrome and Safari treat the scrolling content size as the containing block size for sticky position computation, which means the sticky position box is clamped by, and not allowed to move below the scrolling content length.
(note, this bug came up in a blink-dev thread about differences between Chrome's implementation and ours: https://groups.google.com/a/chromium.org/d/msg/blink-dev/X_vBQp60kp8/rIdvtOqfCAAJ)
Component: Untriaged → Layout
Product: Firefox → Core
David, who's been tracking the sticky position spec bits?
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INCOMPLETE → ---
See Also: → 1434265
Attachment #9067999 - Attachment mime type: application/octet-stream → text/html
You need to log in before you can comment on or make changes to this bug.