gecko-dev/layout/base/gtest
Ting-Yu Lin c508a968ca Bug 1612983 - Disable APZ only when AccessibleCaret's position is changed. r=botond
`mIsCaretPositionChanged` is used in `UpdateShouldDisableApz()` to
determine whether to disable APZ during scrolling or pinch-zooming.

Suppose the selection is on position:static elements. When
pinch-zooming, the zoom level is changed, but the position is not. We
split `PositionChangedResult::Changed` into two separate states, and set
`mIsCaretPositionChanged` only when the position is changed.

Differential Revision: https://phabricator.services.mozilla.com/D61516

--HG--
extra : moz-landing-system : lando
2020-02-07 22:31:40 +00:00
..
TestAccessibleCaretEventHub.cpp
TestAccessibleCaretManager.cpp Bug 1612983 - Disable APZ only when AccessibleCaret's position is changed. r=botond 2020-02-07 22:31:40 +00:00
moz.build