Open Bug 1280917 Opened 8 years ago Updated 2 years ago

occasional off-by-one when scrolling with position: sticky content

Categories

(Core :: Panning and Zooming, defect, P3)

49 Branch
defect

Tracking

()

Tracking Status
firefox47 --- unaffected
firefox48 --- unaffected
firefox49 --- wontfix
firefox50 --- fix-optional
firefox51 --- fix-optional
firefox52 --- ?

People

(Reporter: Swatinem, Unassigned)

Details

(Keywords: regression, Whiteboard: [gfx-noted])

Attachments

(2 files)

Attached file stickyscroll-vert.html
When vertically scrolling content with a few `position: sticky` elements, they are occasionally positioned off by one pixel.

See the attached testcase. Scroll all the way down. There is a 1px gap at the bottom after the "C" section. This is not consistently triggered. Scrolling up and down, sometimes the gap is gone. Refreshing the page (which restores the scroll position to the bottom) also removes the gap.
I don't see exactly the same manifestation of the problem. For me I occasionally see one white row of pixels at the top of the visible area while scrolling upwards, particular when the B "start" switches into fixed mode.

I can see this on Aurora and Nightly, but not Beta.
Keywords: regression
Priority: -- → P3
Whiteboard: [gfx-noted]
Version: unspecified → 49 Branch
Kats I see you triaged this already. Is it minor? Shall we mark it fix-optional for 49?
Flags: needinfo?(bugmail.mozilla)
Sounds good to me.
Flags: needinfo?(bugmail.mozilla)
I'm not able to reproduce this in Nightly, although I still occasionally see one row of white pixels in Aurora. So maybe it's been fixed by something else. Arpad, are you still seeing this in Nightly?
Flags: needinfo?(arpad.borsos)
Not the newest Nightly, but with `Build ID 20160816030459` I still see a row of white pixels on the bottom sometimes. However when I click the page, it moves by one pixel and clears itself.

I also sometime see a small stutter, as if you did the switch between absolute/fixed via js onscroll event. But that also happens very seldomly.
Flags: needinfo?(arpad.borsos)
Attached file different testcase
I still see this sometimes, but I couldn't reproduce it on Arpad's testcase just now. But I have been able to reproduce it on the testcase I'm attaching now.
It's really intermittent, but if it happens, it usually happens when I'm scrolled all the way to the bottom of the page.
(In reply to Markus Stange [:mstange] from comment #6)

> It's really intermittent, but if it happens, it usually happens when I'm
> scrolled all the way to the bottom of the page.

That is also my observation. With the testing I just did it only happened at the bottom, neither on the top nor in the middle.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: