mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 06:08:24 +02:00
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 |
||
|---|---|---|
| .. | ||
| moz.build | ||
| TestAccessibleCaretEventHub.cpp | ||
| TestAccessibleCaretManager.cpp | ||