Add a smooth scrolling option to nsIDOMWindowUtils.scrollToVisual()
Categories
(Core :: Panning and Zooming, enhancement, P3)
Tracking
()
People
(Reporter: rbarker, Assigned: botond)
References
Details
(Whiteboard: [gvtv:p2] [geckoview:p2])
Attachments
(4 files)
Currently nsIDOMWindowUtils.scrollToVisual()
only supports auto
scrolling. In order to support GeckoView API scrollTo()
API, a smooth scrolling option needs to be added.
Updated•6 years ago
|
Comment 1•6 years ago
|
||
David says GV wants this feature for Fire TV scrolling. He's going to talk to Jessie and Botond about it.
Comment 2•6 years ago
|
||
Hi Botond, (per bug 1531531 comment 5) just adding a NI to go with my email from earlier today so that this doesn't fall through the cracks.
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
To clarify: this bug is only needed to ensure that bug 1516056 doesn't regress Fire TV scrolling.
I'm going to block the landing of bug 1516056 on this bug. That way, Fire TV scrolling will not regress even temporarily.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
This patch renames nsIPresShell::SetPendingVisualScrollUpdate() to
ScrollToVisual(), and adds an instant vs. smooth option.
SetPendingVisualScrollUpdate() still exists, as a helper for the instant case.
Depends on D24552
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D24553
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D24554
Updated•6 years ago
|
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9fde8244e2c4
https://hg.mozilla.org/mozilla-central/rev/3d7514ac25e9
https://hg.mozilla.org/mozilla-central/rev/82494837af14
https://hg.mozilla.org/mozilla-central/rev/a042ff02440e
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
67=wontfix because we don't need to uplift this fix to GV 67 Beta if it's not needed for Fenix MVP.
Assignee | ||
Comment 12•6 years ago
|
||
I'm not sure why you need this on ash, but if you're actually using it, you probably also want bug 1539687 which fixes a bug in this.
Comment 13•6 years ago
|
||
Ignore comment 10. That was just a regular merge, but I didn't disable the bzpost hook for it.
Description
•