Fixed selection intents to take into account platform behavior
On Windows, moving forward by one word should move to the start of the next word, punctuation or line break. On other platforms, it should first try to move to the end of the current word. This patch clarifies the attached accessibility event intents to specify whether we are moving to the end of the current word or to the start of the next one when selecting forward. Also, this patch fixes the "sentence/line/paragraphboundary" granularities to expose more information on the boundary they move to, depending on the selection direction. It fixes the "sentence/line/paragraph" granularities to always indicate that they move to the start of the next / previous boundary. AX-Relnotes: n/a. R=dmazzoni@chromium.org Change-Id: I3298f0d73b6bb5d123a15be34fc8c6c587d9594c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238186Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Nektarios Paisios <nektar@chromium.org> Cr-Commit-Position: refs/heads/master@{#776835}
Showing
Please register or sign in to comment