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
29 KiB
29 KiB