Use ScrollMode::Smooth in nsSliderFrame::PageScroll
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: botond, Assigned: botond)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
In bug 1331390, we used ScrollMode::SmoothMsd
on this line even though the other codepath in that function uses ScrollMode::Smooth, to work around bug 1835600.
Now that bug 1835600 is fixed we should revert to using ScrollMode::Smooth
. I originally tried to do this in https://phabricator.services.mozilla.com/D181420, but found that it regresses helper_scrollbartrack_click_overshoot.html on Mac only. There are indications that this is an issue with the test (details in bug 1835600 comment 7).
This bug tracks fixing the test issue and landing the change.
Assignee | ||
Comment 1•2 years ago
|
||
Relevant logs from an earlier Try push:
window.scrollMaxY = 19150
after first scrollend, window.scrollY = 834
after second scrollend, window.scrollY = 16003
Maybe three scrollends does the trick on Mac :)
Assignee | ||
Comment 2•1 years ago
|
||
The use of ScrollMode::SmoothMsd
has caused a user-noticeable regression, bug 1851021.
While the failure of helper_scrollbartrack_click_overshoot.html with ScrollMode::Smooth
on Mac remains to be investigated and fixed, since that failure seems to be a test issue, I'm inclined to say that fixing the regression is more important than preserving the test coverage from this test on one platform.
Therefore, I'll make the change while disabling the test for now, and file a follow-up for re-enabling the test.
Assignee | ||
Comment 3•1 years ago
|
||
This restores the scrolling physics used in PageScroll to what it was
before bug 1331390.
Comment 5•1 years ago
|
||
bugherder |
Description
•