Bug 1331390 - Don't over scroll when mouse down on scrollbar if smooth scroll is...
commitd45f60d317fea0c3c239df767ddb770af349476d
authorRazvan Cojocaru <rzvncj@gmail.com>
Mon, 5 Jun 2023 17:43:38 +0000 (5 17:43 +0000)
committerRazvan Cojocaru <rzvncj@gmail.com>
Mon, 5 Jun 2023 17:43:38 +0000 (5 17:43 +0000)
tree068c099f06e8b2b9463a0a95dca8f00cd5047b75
parent880a91aacf8f92e955d2d27ce6d4712bf6decc3b
Bug 1331390 - Don't over scroll when mouse down on scrollbar if smooth scroll is enabled. r=botond

Differential Revision: https://phabricator.services.mozilla.com/D171017
gfx/layers/apz/test/mochitest/helper_scrollbartrack_click_overshoot.html [new file with mode: 0644]
gfx/layers/apz/test/mochitest/test_group_mouseevents.html
layout/xul/nsSliderFrame.cpp
layout/xul/nsSliderFrame.h