mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 14:02:47 +00:00
5f59b02c90
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination of smooth scrolls which are to be animated on the compositor thread. - Added apz.smooth_scroll_repaint_interval preference. - Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth scroll animations on the compositor thread. - Extended FrameMetrics to report requests for smooth scrolls to be animated on the compositor thread and their corresponding destination positions. - AsyncPanZoomController now checks FrameMetrics for requests to perform smooth scrolling on the compositor thread. It will ensure that they are cancelled as needed by mousewheel, touchpanel, keyboard, and CSSOM-View instant scrolling DOM methods. - The layout/generic/test/test_scroll_behavior.html mochitest has been commented as depending on Bug 1062609 before being enabled for APZ.