gecko-dev/layout/base/gtest
Ting-Yu Lin 7bd47fa30a Bug 1273045 Part 2 - Update carets when scrolling in subframes without APZ. r=mtseng
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
2017-03-14 17:50:03 +08:00
..
TestAccessibleCaretEventHub.cpp Bug 1273045 Part 2 - Update carets when scrolling in subframes without APZ. r=mtseng 2017-03-14 17:50:03 +08:00
TestAccessibleCaretManager.cpp Bug 1273045 Part 2 - Update carets when scrolling in subframes without APZ. r=mtseng 2017-03-14 17:50:03 +08:00
moz.build