mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
154b408813
Previously, we assumed that CaretAssociationHint::Before always meant the caret was at the insertion point at the end of a line. However, it can also mean that the caret is before the start of a node in the middle of a line. To fix this, we need to check for line and paragraph boundaries. See the code comments for details. I moved this functionality completely out of HyperTextAccessible and into TextLeafPoint. First, it was easiest to do these checks with private functions already available to TextLeafPoint. Second, this ideally belongs in TextLeafPoint anyway; its existence in HyperTextAccessible was vestigial. Differential Revision: https://phabricator.services.mozilla.com/D215089 |
||
---|---|---|
.. | ||
ApplicationAccessible.cpp | ||
ApplicationAccessible.h | ||
ARIAGridAccessible.cpp | ||
ARIAGridAccessible.h | ||
BaseAccessibles.cpp | ||
BaseAccessibles.h | ||
DocAccessible-inl.h | ||
DocAccessible.cpp | ||
DocAccessible.h | ||
FormControlAccessible.cpp | ||
FormControlAccessible.h | ||
HyperTextAccessible-inl.h | ||
HyperTextAccessible.cpp | ||
HyperTextAccessible.h | ||
ImageAccessible.cpp | ||
ImageAccessible.h | ||
LocalAccessible-inl.h | ||
LocalAccessible.cpp | ||
LocalAccessible.h | ||
moz.build | ||
OuterDocAccessible.cpp | ||
OuterDocAccessible.h | ||
RootAccessible.cpp | ||
RootAccessible.h | ||
TextLeafAccessible.cpp | ||
TextLeafAccessible.h |