Exposes the focus affinity on the anchor if the selection is collapsed
The AXPosition representing the anchor of the selection should get the same affinity as the AXPosition representing its focus in the case when the selection is collapsed: 1. Say a user presses the "end" key to move to the end of a line with a soft line break. 2. The focus of the selection would get an affinity of upstream. 3. The anchor should also get an upstream affinity because it has the same position as the focus. This should behave the same both in textareas as well as in content editables. R=dmazzoni@chromium.org, yosin@chromium.org Change-Id: I9564be9f1013afd560505643761d1a9da8a76ada Bug: 639340 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534928 Commit-Queue: Nektarios Paisios <nektar@chromium.org> Reviewed-by:Nektarios Paisios <nektar@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Auto-Submit: Nektarios Paisios <nektar@chromium.org> Cr-Commit-Position: refs/heads/master@{#644355}
Showing
Please register or sign in to comment