зеркало из https://github.com/mozilla/gecko-dev.git
7bd47fa30a
Override OnScrollPositionChanged() in ScrollState because we want to update carets during scrolling in subframes without APZ. Due to the observation in bug 1273045 comment 8, we do not distinguish PositionChangedResult::NotChanged and PositionChangedResult::Changed. Instead, we always update caret even if its position is not changed. To avoid excessive CaretStateChangedEvents are dispatched in OnScrollPositionChanged(), we add IsScrollStarted to distinguish whether OnScrollStart() is called or not. MozReview-Commit-ID: KNi9Mct4dSk --HG-- extra : rebase_source : 61d29fb0e1b6b91971217d3f45a791c456fa4f07 |
||
---|---|---|
.. | ||
TestAccessibleCaretEventHub.cpp | ||
TestAccessibleCaretManager.cpp | ||
moz.build |