mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
f65b9ea3f5
BOUNDARY_WORD_END is implemented using BOUNDARY_WORD_START and adjusting for spaces, which are word end boundaries. This is arguably less efficient than it could be, since we will walk over space and then reverse course to compensate. However, the alternative would mean keeping two slightly different versions of the word boundary check code in sync, plus compensating for the fact that a word often ends before a line start while still supporting words split by line wrapping. I felt the lower complexity here outweighed the potential slight loss in efficiency. We can always revisit this if this turns out to be a real problem. Differential Revision: https://phabricator.services.mozilla.com/D138105 |
||
---|---|---|
.. | ||
Accessible.cpp | ||
Accessible.h | ||
HyperTextAccessibleBase.cpp | ||
HyperTextAccessibleBase.h | ||
moz.build |